-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WoltLab Suite 6.0. with CKEditor Clippings not works. #433
Comments
Thanks for bringing this to my attention. I will research alternatives to using execCommand for inserting text into an HTML editor. |
I've tried using the Clipboard API to create and execute a clipboard paste event to cause an HTML-formatted clipping to be inserted. Unfortunately, that didn't work in CKEditor, and it also caused clipping insertion to stop working in any HTML editor (e.g. TinyMCE, email composer in Gmail, etc.). Reading through the MDN documentation, it appears this is by design[1]:
Here are the code changes for this fix attempt, in case anyone is interested: b9ffa50 I have refactored the content script (commits 7084e42 and 2d0d46b), where the clipping insertion (a.k.a. "paste") is performed, to use the DOM Range API[2] instead of The workaround to this issue still applies: copy the text of the desired clipping from Clippings Manager, and manually paste it into the CKEditor HTML text box. There is an enhancement in an upcoming release of Clippings that will make this workaround a bit easier (issue #437). -- |
Hi aecreations. |
Hi aecreations. |
Pasting a clipping from the context menu still won't work with CKEditor. The workaround to the CKEditor limitation still applies: copy the clipping text and then paste it into CKEditor. The good news is that Clippings 7.0 will make it easier to copy clipping text, either from Clippings Manager, or the new Clippings Sidebar. Clippings 7.0 is now in beta, and you're welcome to try it out: https://aecreations.blogspot.com/2024/08/clippings-70-beta-2-released.html |
Hi.
The extension does not work with WoltLab Suite 6.0.
The use now the CKEditor.
I know you are already informed about this:
ckeditor/ckeditor5#11604 (comment)
Have you seen the answer to cadeyrn:
ckeditor/ckeditor5#11604 (comment)
Actually it is impossible to insert a text module.
For example in this forum:
https://www.camp-firefox.de/forum/
I hope you will be able to fix this.
Thank you for your help.
Kind regards
Endor8, and 2002Andreas
The text was updated successfully, but these errors were encountered: