@taze-editor/taze-core
Version:
Taze Editor's core package - makes easier to create rich text editor
9 lines • 456 B
TypeScript
import { GetAboveNodeOptions } from "../slate/editor/getAboveNode";
import { TEditor, Value } from "../slate/editor/TEditor";
/**
* Is the selection focus at the start of its parent block.
*
* Supports the same options provided by {@link getBlockAbove}.
*/
export declare const isSelectionAtBlockStart: <V extends Value>(editor: TEditor<V>, options?: GetAboveNodeOptions<V> | undefined) => boolean;
//# sourceMappingURL=isSelectionAtBlockStart.d.ts.map