You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a bug report or feature request? (choose one)
π Bug report
π» Version of CKEditor
11.0.1
π Steps to reproduce
Copy some content from two blocks.
Put the caret at the end of the first line of some multi-line block.
Paste.
Undo.
β Expected result
The editor doesn't crash.
β Actual result
The editor crashes.
π Other details that might be useful
Error
position.js:913 Uncaught TypeError: Cannot read property 'root' of null
at Function.createFromPosition (position.js:913)
at new Ur (range.js:34)
at Zr._getTransformedByMove (range.js:695)
at Zr._getTransformedByMoveOperation (range.js:506)
at Zr.getTransformedByOperation (range.js:409)
at Zr.<anonymous> (liverange.js:131)
at zl.listenTo (liverange.js:119)
at zl.fire (emittermixin.js:196)
at zl.(anonymous function) [as applyOperation] (http://192.168.1.250:8081/build/docs/ckeditor5/latest/snippets/build-classic-source/snippet.js:4:48856)
at Rh._undo (basecommand.js:161)
GIF
It doesn't crash if we paste the content at the end of the block.
The text was updated successfully, but these errors were encountered:
Fix: `Range#_getTransformedBySplitOperation()` will expand the range if `insertionPosition` is equal to the range end. Modified transformations to align with that change. Closesckeditor/ckeditor5#1278.
Is this a bug report or feature request? (choose one)
π Bug report
π» Version of CKEditor
11.0.1
π Steps to reproduce
β Expected result
The editor doesn't crash.
β Actual result
The editor crashes.
π Other details that might be useful
Error
GIF
It doesn't crash if we paste the content at the end of the block.
The text was updated successfully, but these errors were encountered: