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

Kukulcan created an issue. See original summary.

TwoD’s picture

Which 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.

riccardino’s picture

I had the same problem with CKEditor 3.6.4.

The problem solved after updating to the last CKEditor version.

Kukulcan’s picture

We 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.

TwoD’s picture

Category: Bug report » Support request
Status: Active » Fixed
Issue tags: -summary copy paste unformatted

The 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.)

Kukulcan’s picture

Yeah, 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.

TwoD’s picture

Status: Fixed » Active

The 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 the forcePasteAsPlainText 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.

Kukulcan’s picture

Thank 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.

TwoD’s picture

Status: Active » Fixed

Ah, 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.