Skip to content

Commit

Permalink
Changed comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Apr 13, 2021
1 parent 9a4e03a commit 74239fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ckeditor5-engine/src/controller/datacontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ export default class DataController {

// Convert markers.
// For document fragment, simply take the markers assigned to this document fragment.
// For model element, we need to check in which markers is that element and relatively modify the range's paths.
// For model root, all markers in that root will be taken.
// For model element, we need to check which markers are intersecting with this element and relatively modify the markers' ranges.
const markers = modelElementOrFragment.is( 'documentFragment' ) ?
Array.from( modelElementOrFragment.markers ) :
_getMarkersRelativeToElement( modelElementOrFragment );
Expand Down

0 comments on commit 74239fc

Please sign in to comment.