@taze-editor/taze-core
Version:
Taze Editor's core package - makes easier to create rich text editor
7 lines • 460 B
TypeScript
import { GetAboveNodeOptions } from "../slate/editor/getAboveNode";
import { TEditor, Value } from "../slate/editor/TEditor";
/**
* Get the block above a location (default: selection).
*/
export declare const getBlockAbove: <N extends import("../slate/node/TAncestor").AncestorOf<TEditor<V>>, V extends Value = Value>(editor: TEditor<V>, options?: GetAboveNodeOptions<V>) => import("..").TNodeEntry<N> | undefined;
//# sourceMappingURL=getBlockAbove.d.ts.map