mostafaznv / nova-ckeditor

CkEditor 5 Field for Laravel Nova with Media & Snippet Browsers
https://mostafaznv.gitbook.io/nova-ckeditor/
MIT License
50 stars 21 forks source link

Clipboard functions #67

Closed Brand3000 closed 1 year ago

Brand3000 commented 1 year ago

Hello! I need features from Ckeditor4 like "Paste as plain text", "Paste from word". If I'm not mistaken these features in the Clipboard plugin. Would you mind to implement this plugin? I think it's useful for everyone.

mostafaznv commented 1 year ago

Hi, I believe this functionality might already be available in the current versions of nova-ckeditor. You can try pasting your content using Ctrl/Cmd + Shift + V.

Brand3000 commented 1 year ago

No, unfortunately, there's no this feature by default. My client has used to using those buttons in the toolbar and asks for them in Laravel Nova. I'd really appreciate if you implement this plugin.

On 10 Aug 2023, at 12:07, Mostafa Zeinivand @.***> wrote:

Hi, I believe this functionality might already be available in the current versions of nova-ckeditor. You can try pasting your content using Ctrl/Cmd + Shift + V.

— Reply to this email directly, view it on GitHub https://github.com/mostafaznv/nova-ckeditor/issues/67#issuecomment-1672844540, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARCAHASIBIRHRBYXB7LSYR3XUSQDTANCNFSM6AAAAAA3LCJYXY. You are receiving this because you authored the thread.

— Vladimir, full-stack web developer @. @.> phone, viber, telegram, whatsapp: +38 050 656 45 30 https://studiobrand.net https://studiobrand.net/ - website development https://sitewill.com https://sitewill.com/ - rent a website https://www.linkedin.com/in/brand3000/ https://www.linkedin.com/in/brand3000/ , https://www.facebook.com/brand2001/ https://www.facebook.com/brand2001/ - get in touch

mostafaznv commented 1 year ago

Hello, Adding the PastePlainText button to the CKEditor toolbar isn't feasible in a straightforward manner. However, I've integrated the Clipboard plugin into the nova-ckeditor bundle. You can now achieve your desired result by using the keyboard shortcut Ctrl/Cmd + Shift + V.

Please update the package to v5.2.1 and inform me about the outcome.

Brand3000 commented 1 year ago

I'm so sorry for my belated answer... I have updated your plugin to the latest version and trying to add the pastePlainText button in the toolbar, but it doesn't appear for some reason. I've checked your documentation and it seems that there's nothing about the Clipboard plugin. Additionally, I went to the CKeditor website and they say "The plain text pasting feature is implemented by the PastePlainText plugin which is a part of the Clipboard plugin." It seems that some extra plugins for all types of inserting have to be implemented... Just a notice. If you are busy, let's leave it as it is.