@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
12 lines • 519 B
TypeScript
import type { YooptaMark } from '../marks';
import type { YooptaPlugin } from '../plugins';
import type { SlateElement, YooEditor, YooptaContentValue } from './types';
export type CreateYooptaEditorOptions = {
id?: string;
plugins: readonly YooptaPlugin<Record<string, SlateElement>>[];
marks?: YooptaMark<any>[];
value?: YooptaContentValue;
readOnly?: boolean;
};
export declare function createYooptaEditor(opts: CreateYooptaEditorOptions): YooEditor;
//# sourceMappingURL=index.d.ts.map