Category : ckeditor

I get the following error once I implement my CKeditor to a react Modal: Warning: Can’t perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function. The CKeditor appears on ..

Read more

This is similar to this question, but the solution doesn’t work for me. I need to add a custom button, I have a "ckedtior_config.js" file in which I set the editor config, then I have a separate file for the script. It is as it follows: CKEDITOR.addCommand(‘custom_button’, new CKEDITOR.dialogCommand(‘customDialog’) ); CKEDITOR.ui.addButton(‘Custom_button’, { label: ‘Insert custom’, ..

Read more

I am using Ckeditor4.6 version, I need to highlight the text using Id, Example I have <a href id="randomId"> <span class="a">some text</span><span class="b">some text</span></a> What I tried is var range = CKEditor.createRange(); range.setStart(ele , 0 ); range.setEnd(ele, 1 ); CKEditor.getSelection().selectRanges([range]); Source: Ask Javascript..

Read more

I need your help to integrate the autosave plugin into the CKeditor 5. At the moment I have included the CKeditor like that: <script src="https://cdn.ckeditor.com/ckeditor5/25.0.0/classic/ckeditor.js"></script> But it doesn’t find the autosave plugin, so I suppose I need to install the CKeditor and the plugin on my website in order to run that. The problem is ..

Read more