import { findChildrenInRange } from "https://deno.land/x/netzo@0.5.107/deps/@tiptap/react.ts";
Same as findChildren
but searches only within a range
.
Parameters
node: ProseMirrorNode
The Prosemirror node to search in
range: Range
The range to search in
predicate: Predicate
The predicate to match
Returns
An array of nodes with their positions