UNPKG

@yoopta/editor

Version:

<h2 align="center">Yoopta-Editor v1 🎉</h2> <p align="center">Yoopta-Editor - is an open source notion-like editor 💥</p> <div align="center"> <img width="574" alt="Screen Shot 2023-01-25 at 16 04 29" src="https://user-images.githubusercontent.com/2909311

20 lines • 582 B
import { Editor, Path, Range } from 'slate'; import type { YooEditor } from '../editor/types'; type HierarchicalSelectResult = { action: 'select-path'; path: Path; } | { action: 'select-range'; range: Range; } | { action: 'select-block'; blockOrder: number; } | { action: 'select-all-blocks'; blockOrders: number[]; } | { action: 'none'; }; export declare function getNextHierarchicalSelection(editor: YooEditor, slate: Editor): HierarchicalSelectResult; export {}; //# sourceMappingURL=get-next-hierarchical-selection.d.ts.map