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.
After an automatic update to 7.x 2.3 Copy/Pasting from an existing content results in an unformatted version of the text.
Also the summary field is greyed out/disabled.
Comments
Comment #2
TwoDWhich editor version are you using?
What do you mean by the summary being disabled? Is the editor active at all for the summary?
It's possible the default summary field size is too small for the editor to fit inside so the toolbar/statusbar takes up most of the physical area. If you have editor resizing enabled try dragging the lower right corner of the editor on the summary, else try disabling the editor, resize the original textarea and then enable the editor again and see if it works better.
It's possible that the editor is filtering out most formatting on paste depending on the configuration of the Paste plugin, especially if the "Force paste as plain text" is enabled and whether or not you're using "Paste from word", "Paste as plain text" or a regular paste operation.
Comment #3
riccardino CreditAttribution: riccardino commentedI had the same problem with CKEditor 3.6.4.
The problem solved after updating to the last CKEditor version.
Comment #4
Kukulcan CreditAttribution: Kukulcan commentedWe use CKEditor 3.6.6.1.7696
http://www.aktiv-radfahren.de/sites/default/files/greyed.jpg
I noticed when I went back one version there aren't any tools in the summary editor.
Comment #5
TwoDThe editor works as it should, but it's like I mentioned above with the original textarea being too small to fit the entire editor. (You can drag the lower right corner to resize it.)
You could also implement
hook_wysiywg_editor_settings_alter()
to change the default height of the editor itself. (Just set$settings['height']
to whatever you need in that hook.)Comment #6
Kukulcan CreditAttribution: Kukulcan commentedYeah, thanks, that was the smaller problem, the main problem is the copy/paste.
>>It's possible that the editor is filtering out most formatting on paste depending on the configuration of the Paste plugin
Maybe, I don't know, we always just use ctrl-c/ctrl-v and that broke with date of 12/31 on about 10 production sites. It might be side-effects or module dependencies, but I can 100% say is the cause is NOT that we changed any settings in the wysiwyg/filters section.
The Paste from Word doesn't help unfortunately. The formats are visible in the small Word Window but gone in the editor.
Comment #7
TwoDThe only thing I can think of which would completely, and always, get rid of pasted styling in CKEditor is if the "Force paste as plain text" setting is enabled.
(Some module could also implement
hook_wysiwyg_editor_settings_alter()
and set theforcePasteAsPlainText
setting.)Which options are enabled under the 'Paste' tab, and which Paste-related plugins/buttons are enabled?
The 7.x-2.3 release does add a couple of paste-related options, and it's possible that the migration may have flipped some of them.
Comment #8
Kukulcan CreditAttribution: Kukulcan commentedThank you for your time, indeed the "Force paste as plain text" was enabled by default. I had checked the filter settings after reverting to the old version of WYSIWG and there that option was located differently and turned off.
Comment #9
TwoDAh, that explains it.
It seems all questions have been answered so I'll change this back to fixed. If not, please change it back to active.