Closed (outdated)
Project:
Entity Embed
Version:
8.x-1.x-dev
Component:
CKEditor integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Mar 2018 at 16:41 UTC
Updated:
29 Nov 2018 at 21:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ckaotikI've attached a minimal patch, please review.
We might want to include a test for this, dunno.
Comment #4
dave reidI would need to check if this would break the Lightning distro's CKEditor integration.
Comment #5
wim leersI cannot reproduce this with just core +
entity_embed, but I can see how another CKEditor widget with extremely similar markup (i.e. the samedata-attributes) could run into this.core/modules/ckeditor/js/plugins/drupalimage/plugin.jsin itsupcastmethod does something similar:So I'm +1 to this. But I'd keep this much simpler.
Comment #6
wim leersNote: if #2544020: CKEditor plugin not written with CKEditor >=4.4 in mind; rewrite it based on core's `drupalimage` plugin happens before this, this will become obsolete.
Comment #7
wim leersActually, I think it doesn't make sense to keep this open, we should do #2544020: CKEditor plugin not written with CKEditor >=4.4 in mind; rewrite it based on core's `drupalimage` plugin anyway, so let's just make a note there to absolutely certainly do this as part of that.