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.
Problem/Motivation
When you add an image through the wysiwyg and try to add a plain-text tag, it gets removed after save/reopen or switching to source and back to WYWISYG:
Adding the caption:
Switching to source:
Switching back to WYSIWYG:
Proposed resolution
Remaining tasks
Provide a patch.
User interface changes
None.
API changes
None (?)
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2015-03-26 at 16.11.47.png | 107.43 KB | mr.baileys | |
Screen Shot 2015-03-26 at 16.11.36.png | 53.58 KB | mr.baileys | |
Screen Shot 2015-03-26 at 16.11.24.png | 110.96 KB | mr.baileys |
Comments
Comment #1
Wim LeersAlready talking with the CKEditor developers about this.
This is what I told them:
Comment #2
Wim LeersComment #3
Wim LeersConfirmed that this is a CKEditor bug. Ticket filed: http://dev.ckeditor.com/ticket/13105. Demonstration of the bug:
Comment #4
mgiffordFixed in CKEditor 4.5.0 so think we can resolve this now.
Comment #5
Wim LeersHurray, this is indeed completely fixed since upgrading to CKE 4.5.3 in #2521820: Update CKEditor library to 4.5.3!
Re-running the scenario in #3 now produces vastly different results:
Comment #6
mgiffordThanks for your work with the CKEditor community Wim!