-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
squad:coreIssue to be handled by the Core team.Issue to be handled by the Core team.support:2An issue reported by a commercially licensed client.An issue reported by a commercially licensed client.type:bug
Description
Steps to reproduce:
- Download React integration from the builder
- Expose editor instance in window:
onReady={ editor => {
window.editor = editor;
} }
- Run the app
- Open console and execute code to trigger error:
const root = editor.model.document.getRoot();
editor.model.change( writer => {
const invalidElement = writer.createElement( 'invalid' );
writer.append( invalidElement, root );
} );
Result
Editor crashes as expected. Now if you try typing something and click on the toolbar, another editor instance shows up. Also, if you keep clicking on it, it duplicates content on each click.
On some reports from customers the duplicated editor shows up immediately, without the need to type or click. However I was not able to reproduce it this way.
Screencast
Screen.Recording.2025-06-13.at.12.29.09.mov
Other info
Tested on:
- CKEditor v 45.2.0
- React integration v 9.5.0
- React integration v 10.0.0-alpha.0
- If you set
disableWatchdog={true}
then there are no duplicated editors
Metadata
Metadata
Assignees
Labels
squad:coreIssue to be handled by the Core team.Issue to be handled by the Core team.support:2An issue reported by a commercially licensed client.An issue reported by a commercially licensed client.type:bug