UNPKG

@taze-editor/taze-core

Version:

Taze Editor's core package - makes easier to create rich text editor

9 lines 455 B
import { TEditor, Value } from "../slate/editor/TEditor"; import { ENode } from "../slate/node/TNode"; import { FindNodeOptions } from "./findNode"; /** * Iterate through all of the nodes in the editor and break early for the first truthy match. Otherwise * returns false. */ export declare const someNode: <N extends ENode<V>, V extends Value = Value>(editor: TEditor<V>, options: FindNodeOptions<V>) => boolean; //# sourceMappingURL=someNode.d.ts.map