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
Path is an array of offsets (it's defined like this in Position), hence, whenever we accept path we should translate offsets to indexes (if we want to retrieve children).
The text was updated successfully, but these errors were encountered:
Fix: `model.Element#getNodeByPath()` and `model.DocumentFragment#getNodeByPath()` should work with offsets not indexes (because path is an array of offsets). Closes #1009.
mlewand
transferred this issue from ckeditor/ckeditor5-engine
Oct 9, 2019
Path is an array of offsets (it's defined like this in
Position
), hence, whenever we accept path we should translate offsets to indexes (if we want to retrieve children).The text was updated successfully, but these errors were encountered: