@taze-editor/taze-core
Version:
Taze Editor's core package - makes easier to create rich text editor
7 lines • 330 B
TypeScript
import { TEditor, Value } from "../slate/editor/TEditor";
import { TAncestor } from "../slate/node/TAncestor";
/**
* Is an ancestor empty (empty text and no inline children).
*/
export declare const isAncestorEmpty: <V extends Value>(editor: TEditor<V>, node: TAncestor) => boolean;
//# sourceMappingURL=isAncestorEmpty.d.ts.map