Trouble preloading CKEditor with Database Content

140 views Asked by At

I'm building an article publishing and management tool within my site's CMS and I allow users to submit Youtube embed codes through my large CKEditor text-area. This copy + embed code is stored fine in my database on submit.

The problem is, when I enter an article in an edit mode, it appears CKEditor is stripping the Youtube embed code from my injected copy. What can I do to stop it from doing this?

Edit: I'm using version 4.4.7, and I should add that adding

config.allowedContent = true;

to my config.js file is not solving the problem.

1

There are 1 answers

0
Spookytheboy On BEST ANSWER

I fixed this by simply changing my CKEditor install to the Full Package instead of what I was using, Standard. Not sure why I was unable to edit the allowed content in the Standard Package though.