Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Case 1:
Path to CKEditor is set as a local path: %l/ckeditor
Behaviour 1:
Asset is inserted in CKEditor as a [[asset]] tag: [[asset:image:1 {"mode":"small","align":"none","field_asset_image_description":["Description"]}]]
Case 2:
Path to CKEditor is set as a link on a CDN: //cdn.ckeditor.com/4.4.3/full-all
Behaviour 2:
Asset is inserted in CKEditor as a html code:
<div class="editor" contenteditable="false" data-asset-cid="5:image:1421231638041"><img alt="" src="" typeof="foaf:Image" />
<div class="description">Description</div>
</div>
So in case 2 we can't manage assets through CKEditor later and "Convert asset tags to markup" filter have no sense.
Comments
Comment #1
Paul Lomax CreditAttribution: Paul Lomax commentedNothing to do with the CDN, is the version of CKeditor. Downgrade to an earlier version if possible, I think 4.0.1 works. The CKeditor plugin for this module desperately needs updating to work with the newer versions.
Comment #2
sinn CreditAttribution: sinn commentedRelated issue https://www.drupal.org/node/2419057
Comment #3
gurvan CreditAttribution: gurvan commentedComment #4
gurvan CreditAttribution: gurvan commented