- Issue created by @jigarius
- π«π·France clemorphy Paris
Tested on Drupal 10.3.5, and I can confirm it doesn't have any effect too.
The pasted text coming from a Word document is still bloated with formats. - πͺπ¨Ecuador jwilson3
I've confirmed the same issue, testing with Drupal core 10.3.10 and version 1.0.0-beta1 of the CKEditor 5 Paste as Plain Text module.
Bumping to critical, since the module is effectively useless on Drupal 10.3+
- πͺπ¨Ecuador jwilson3
Iβve found a different module that purportedly does work and has a lot of installs, but it requires a bit more manual configuration to get it correct, which means more testing and review is required rather than this module which is basically "set it and forget it" (except that it doesn't work).
- πΊπΈUnited States kevinquillen
The CKEditor docs say:
With the plain text pasting feature, text pasted using the Ctrl/Cmd + Shift + V keystroke will match the formatting of the content you paste it into.
Are folks using CTRL SHIFT V, or just CTRL V (CMD V)?
When I try the demo page here:
https://ckeditor.com/docs/ckeditor5/latest/features/pasting/paste-plain-...
CTRL V pastes as-is from Clipboard, but CTRL SHIFT V pastes as plain text.
- πͺπ¨Ecuador jwilson3
I was using
CTRL
/CMD
+V
(mac), because this module's Project page description states the following:CKEditor 5 plugin to force pasting content as plain text.
If this module requires using
CTRL
/CMD
+SHIFT
+V
, then either the module description should be updated to clarify this, or the module needs to be fixed to actually "force" pasting as plain text. - πΊπΈUnited States kevinquillen
So it did work? Just clarifying because I did not install it yet (due to this thread) but checked through the CK5 docs first.
- πͺπ¨Ecuador jwilson3
Ah. Sorry. No it doesn't work. As stated in the issue summary in slightly different wording, pasting (ie
CTRL
/CMD
+V
) does not strip out all the crazy formatting and inline styles when pasting from another rich-text application, like Word. - πΊπΈUnited States kevinquillen
Thats what I mean, I don't think this takes over normal paste, because of its behavior. That is why its set to the CTRL SHIFT V shortcut.