-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Uncaught CKEditorError: cannot-change-view-tree #12026
Comments
Hi, I'm not able to reproduce this. Could you add a screencast showing exactly what you do and when the error occurs? |
Hi Filip, Here is the reproducible video. record.mp4Thank you |
Hi @FilipTokarski , Let me know if you still have any doubts, We can jump on a Zoom call. Reproduce Steps: Step 1: type something very fast and remove half word in the editor and instantly apply bold or switch to italic Thank you |
Can you reproduce this also on docs demo or only in your customised editor? |
Hi @FilipTokarski , The cast or reproducible you see, It was of sample which comes with ckeditor package . Also it is reproducible on docs demo too. Reproduce Steps: Step 1: type something very fast and remove half word in the editor and instantly apply bold or switch to italic |
Hello @indraraj26, Steps
Therefore, we can confirm the issue. |
Full stack trace: Uncaught TypeError: Cannot read properties of null (reading 'parent')
at Renderer.render (renderer.js:238:1)
at View._render (view.js:702:1)
at View.<anonymous> (view.js:204:1)
at View.fire (emittermixin.js:200:1)
at View.change (view.js:499:1)
at View._disableRendering (view.js:689:1)
at EditingController.listenTo.priority (editingcontroller.js:94:1)
at Model.fire (emittermixin.js:200:1)
at Model._runPendingChanges (model.js:961:1)
at Model.change (model.js:202:1)
Uncaught CKEditorError: cannot-change-view-tree
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-cannot-change-view-tree
at View.change (view.js:473:1)
at View._disableRendering (view.js:689:1)
at EditingController.listenTo.priority (editingcontroller.js:94:1)
at Model.fire (emittermixin.js:200:1)
at Model._runPendingChanges (model.js:961:1)
at Model.change (model.js:202:1)
at widgettypearound.js:358:1
at FocusTracker.<anonymous> (widgettypearound.js:177:1)
at FocusTracker.fire (emittermixin.js:200:1)
at FocusTracker.set [as isFocused] (observablemixin.js:95:1) |
Bisection shows this commit: 22b97e9 |
Fix (engine): Editor should not crash while making a selection after having a collapsed selection with styles applied. Closes #12026.
📝 Provide detailed reproduction steps (if any)
Step 1: type something very fast and remove half word in the editor and instantly apply bold or switch to italic
Step 2: repeat step
I am using this package with Oracle Jet.
self.connected
andself.disconnected
these are life cycles. It is throwing below error in a very rare case and after that editor becomes unresponsiveness and all the toolbar like bold, Italic will not work.error:
✔️ Expected result
It should not throw an error.
❌ Actual result
❓ Possible solution
If you have ideas, you can list them here. Otherwise, you can delete this section.
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: