How to setup Advanced Content Filter to not remove drupal-entity tags? 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:

    &lt;drupal-entity class="media-element" data-entity-embed-display="image:image" 
        data-entity-id="2589" data-entity-type="file" data-fid="2589" 
        data-media-element="1"&gt;&lt;/drupal-entity&gt;


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.
Try this :


admin/config/content/ckeditor/edit/Full->
Advanced Options ->
Custom JavaScript configuration ->
Paste in:  config.allowedContent = true;
Save