I use CKEditor to create content. And Media Plugin to upload and manage images.

Now I have a problem that as soon as I activate Advanced Content Filter in CKEditor settings, my images are removed. I think problem is, that they are implemented like this:

    <drupal-entity class="media-element" data-entity-embed-display="image:image" 
        data-entity-id="2589" data-entity-type="file" data-fid="2589" 

I tried to insert drupal-entity in extra allowed content, but it doesn't change anything.

As long as I do not save this node with activated ACF the images are shown on my website. This is because first I created nodes with deactivated ACF.

1 Answer 1


Try this :

  • admin/config/content/ckeditor/edit/Full->
  • Advanced Options ->
  • Custom JavaScript configuration ->
  • Paste in: config.allowedContent = true;
  • Save
  • At the end I edited the config.js and set allowed_content to t.
    – Jurik
    Commented Jul 21, 2015 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.