@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 • 877 B
TypeScript
import { SlateElement, YooEditor } from '../editor/types';
import { Plugin } from '../plugins/types';
import { YooptaMark } from '../marks';
export declare function buildMarks(editor: any, marks: YooptaMark<any>[]): import("../editor/types").YooptaFormats;
export declare function buildBlocks(editor: any, plugins: Plugin<Record<string, SlateElement>>[]): import("../editor/types").YooptaBlocks;
export declare function buildBlockSlateEditors(editor: YooEditor): {};
export declare function buildBlockShortcuts(editor: YooEditor): {};
export declare function buildPlugins(plugins: Plugin<Record<string, SlateElement>>[]): Record<string, Plugin<Record<string, SlateElement>>>;
export declare function buildCommands(editor: YooEditor, plugins: Plugin<Record<string, SlateElement>>[]): Record<string, (...args: any[]) => any>;
//# sourceMappingURL=editorBuilders.d.ts.map