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

10 lines • 397 B
import { FocusAt, SlateEditor, YooEditor } from '../types'; export type FocusBlockOptions = { waitExecution?: boolean; waitExecutionMs?: number; shouldUpdateBlockPath?: boolean; focusAt?: FocusAt; slate?: SlateEditor; }; export declare function focusBlock(editor: YooEditor, blockId: string, options?: FocusBlockOptions): void; //# sourceMappingURL=focusBlock.d.ts.map