Personally I don't think this is required for CKeditor 5. The reason is that it is now possible to right click inside the new editor hence to be able to "paste as plain text" - this wasn't possible in CKeditor4
Doesn't work for me either. Even somehow pasting as plain text with right click didn't solve this problem for text copied directly from word which is using its own fonts and styles.
Update: looks like it was text's issue itself, once I pasted it even notepad couldn't bring it back to plain text, but leaving empty squares only. Everything seems to be fine now.
Comments
Comment #2
maxilein commentedAll the word rubbish gets pasted in CKEditor5.
Comment #3
maxilein commentedPaste from Office seems to be included in the CKEDitor5 of the upcoming Drupal.
https://www.drupal.org/project/drupal/issues/3254346
I am Testing with the experimental CKEditor5 module of D9.4.3
Comment #4
mylocaltrades commentedPersonally I don't think this is required for CKeditor 5. The reason is that it is now possible to right click inside the new editor hence to be able to "paste as plain text" - this wasn't possible in CKeditor4
Comment #5
rajab natshahThanks, Gary, for clearing this up
@ckeditor/ckeditor5-paste-from-office
https://github.com/ckeditor/ckeditor5-paste-from-office
I find out that now it's part of CKEditor 5 core
https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-pas...
In fever of @ckeditor/ckeditor5-paste-from-office in CKEditor 5 version, packaged with Drupal 10
It's part of CKEditor 5 core
https://git.drupalcode.org/project/drupal/-/tree/10.0.x/core/assets/vend...
Comment #6
star-szrI'm working on porting this module to CKEditor 5 because it still has value and valid use cases. I will likely end up sharing here as an issue fork.
Comment #7
star-szrI ended up creating a new issue to hold the issue fork and ported module: #3341385: Create CKEditor 5 version
Comment #9
montogro commentedDoesn't work for me either. Even somehow pasting as plain text with right click didn't solve this problem for text copied directly from word which is using its own fonts and styles.
Update: looks like it was text's issue itself, once I pasted it even notepad couldn't bring it back to plain text, but leaving empty squares only. Everything seems to be fine now.
Comment #10
ressaMaybe this section can be moved to the top of the project page, to save the users some time?
Comment #11
cosolom commentedUpdated
Comment #12
ressaPerfect, thanks @cosolom.
Comment #13
star-szrMinor, but could you please correct the capitalization of the link text:
CKeditor 5 Paste Filter
Should be:
CKEditor 5 Paste Filter
Comment #14
cosolom commentedUpdated. Thanks