UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

7 lines (6 loc) 327 B
/** * Recursively searches an ADF node tree for a node with the given localId. * Works with plain JSON ADF (no ProseMirror dependency). * Returns the node if found, or undefined if not found. */ export declare function findNodeByLocalId(node: Record<string, unknown>, localId: string): Record<string, unknown> | undefined;