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.
When using the default installation of CKEditor (v4) a new problem appears, also on D7, that even when copy/paste content within the Editor unwanted "span"-tags with bad attributes are created.
e.g. a simple copy paste within editor creates unwanted "span"-tags like this:
The default Copy & Paste-Behaviour should avoid these issues and create the best clean code possible or provide settings to choose from.
Please note that I am working on a Mac (OS X 10.9.6, Chrome & FIrefox latest checked.)
Comment | File | Size | Author |
---|---|---|---|
#1 | issue2543892_editor_wysiwyg-copypaste.png | 58.49 KB | drupal a11y |
Comments
Comment #1
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedComment #2
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedComment #3
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedAfter some research I figured out that this is maybe a Google Chrome related issue: http://docs.ckeditor.com/#!/guide/dev_acf
Comment #4
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedNo it´s not. Firefox & Safari have the same issues on OS X 10.9.5 for me.
Comment #5
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedComment #6
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedIn my opinion the ACF Mode should be optimized. Please see here: http://sdk.ckeditor.com/samples/acf.html
Comment #7
Wim LeersWe just upgraded to CKEditor 4.5.3 in #2521820: Update CKEditor library to 4.5.3. Can you please try the latest version of D8 HEAD?
Comment #8
Wim LeersComment #9
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedThanks for the update. I´ll try it with the latest D8 Head.
Comment #10
drupal a11y CreditAttribution: drupal a11y as a volunteer commentedWorks great. Thanks!
Comment #11
drupal a11y CreditAttribution: drupal a11y as a volunteer commented