addMarker event is not called in data pipeline when range is at start of the root element #8485
Labels
domain:dx
This issue reports a developer experience problem or possible improvement.
package:engine
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
Debugger statement for
addMarker
event should stop script execution.❌ Actual result
Nothing happens.
The issue seems to be caused by the
ckeditor5/packages/ckeditor5-engine/src/controller/datacontroller.js
Lines 491 to 510 in eee94ce
ckeditor5/packages/ckeditor5-engine/src/controller/datacontroller.js
Lines 240 to 248 in eee94ce
It looks like when the marker range is at the start or end of the root it won't be contained in the root element range and the following code will fail to process markers.
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: