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

6 lines • 566 B
import type { PluginDOMEvents } from './types'; import type { SlateEditor, YooEditor, YooptaBlockData } from '../editor/types'; import type { EditorEventHandlers } from '../types/eventHandlers'; export declare const useSlateEditor: (id: string, editor: YooEditor, block: YooptaBlockData, elements: any, withExtensions: any) => import("slate-react").ReactEditor; export declare const useEventHandlers: (events: PluginDOMEvents | undefined, editor: YooEditor, block: YooptaBlockData, slate: SlateEditor) => EditorEventHandlers; //# sourceMappingURL=hooks.d.ts.map