findChildrenInRange
@blockslides/core / findChildrenInRange
Function: findChildrenInRange()
findChildrenInRange(
node,range,predicate):NodeWithPos[]
Defined in: blockslides/packages/core/src/helpers/findChildrenInRange.ts:12
Same as findChildren but searches only within a range.
Parameters
node
Node
The Prosemirror node to search in
range
The range to search in
predicate
The predicate to match
Returns
An array of nodes with their positions