Description
📝 Provide detailed reproduction steps (if any)
- Add a table.
- Open the table properties balloon.
- Add a background color.
- Put the caret in a cell.
- Open the cell properties balloon.
- Add a background color.
- Undo twice.
✔️ Expected result
Styles are removed.
❌ Actual result
The editor crashes.
📃 Other details
Error
ckeditorerror.js:66 Uncaught CKEditorError: attribute-operation-range-not-flat: The range to change is not flat. Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-attribute-operation-range-not-flat
at l._validate (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:54557)
at kn.on.priority (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:380379)
at kn.fire (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:22217)
at kn.<computed> [as applyOperation] (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:29799)
at E._undo (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:428562)
at Object.callback (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:429060)
at kn._runPendingChanges (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:384143)
at kn.enqueueChange (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:381201)
at E.execute (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:429034)
at E.<anonymous> (http://192.168.1.81:8080/build/docs/ckeditor5/latest/snippets/features/build-table-source/snippet.js:4:29748)
If you'd like to see this fixed sooner, add a 👍 reaction to this post.