Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/@tiptap/react.ts>findParentNodeClosestToPos

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function findParentNodeClosestToPos
import { findParentNodeClosestToPos } from "https://deno.land/x/netzo@0.4.78/deps/@tiptap/react.ts";

Returns

{ pos: number; start: number; depth: number; node: ProseMirrorNode; } | undefined