import { findParentNodeClosestToPos } from "https://deno.land/x/netzo@0.5.109/deps/@tiptap/react.ts";
Finds the closest parent node to a resolved position that matches a predicate.
Returns
{ pos: number; start: number; depth: number; node: ProseMirrorNode; } | undefined
The closest parent node to the resolved position that matches the predicate