-
-
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
[Table] Crash when undoing row insertion and adding cell properties #6382
Comments
Could you paste the stack trace? It's very helpful when looking for similar issues. Often, similar issues give the same error and we can easily find duplicates this way. |
Wow sorry for that, I was sure I added the errors, must have missed something 🤦♂ Anyway, I updated the report. |
There's a workaround in some remove col/row commands so they select the entire table before starting operating on cells. This works around the same issue – document selection is not able to properly manage its ranges when the document changes (cells are removed, ranges get insersected). |
May be resolved by #6501. |
Fix: Intersecting ranges resulting when fixing graveyard selection no longer break the editor. Closes ckeditor/ckeditor5#6501. Closes ckeditor/ckeditor5#6382.
Other: Removed temporary fixes for `model-selection-range-intersects` errors. See ckeditor/ckeditor5#6501. See ckeditor/ckeditor5#6382.
📝 Provide detailed reproduction steps (if any)
tableselection
test and add a tableundo
two times✔️ Expected result
Undoing works just fine
❌ Actual result
Editor crashes:
NOTE: it is even easier to reproduce it on branch
i/6114b
- you can do it with or without changing the selection in step 6Errors:
📃 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: