engine/model/operation/utils
@ckeditor/ckeditor5-engine/src/model/operation/utils
module
Filtering
Type Definitions
-
NodeSet
module:engine/model/operation/utils~NodeSet
Functions
-
Inserts given nodes at given position.
Parameters
Returns
Range
Range spanning over inserted elements.
-
internal
_move( this, sourceRange, targetPosition ) → Range
module:engine/model/operation/utils~_move
-
Sets given attribute on nodes in given range. The attributes are only set on top-level nodes of the range, not on its children.
Parameters
range : Range
Range containing nodes that should have the attribute set. Must be a flat range.
key : string
Key of attribute to set.
value : unknown
Attribute value.
Returns
void
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.