import { findChildren } from "https://deno.land/x/netzo@0.5.107/deps/@tiptap/react.ts";
Find children inside a Prosemirror node that match a predicate.
Parameters
node: ProseMirrorNode
The Prosemirror node to search in
predicate: Predicate
The predicate to match
Returns
An array of nodes with their positions