Comments

maxilein created an issue. See original summary.

maxilein’s picture

Issue summary: View changes

All the word rubbish gets pasted in CKEditor5.

maxilein’s picture

Paste 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

mylocaltrades’s picture

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

rajab natshah’s picture

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

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

star-szr’s picture

I'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.

star-szr’s picture

Status: Active » Fixed
Related issues: +#3341385: Create CKEditor 5 version

I ended up creating a new issue to hold the issue fork and ported module: #3341385: Create CKEditor 5 version

Status: Fixed » Closed (fixed)

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

montogro’s picture

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.

ressa’s picture

Maybe this section can be moved to the top of the project page, to save the users some time?

CKEditor 5

This module is for CKEditor 4 only. For CKEditor 5 need to use CKeditor 5 Paste Filter

cosolom’s picture

Updated

ressa’s picture

Perfect, thanks @cosolom.

star-szr’s picture

Minor, but could you please correct the capitalization of the link text:

CKeditor 5 Paste Filter

Should be:

CKEditor 5 Paste Filter

cosolom’s picture

Updated. Thanks