UNPKG

@mini-markdown-rc/editor

Version:
15 lines (14 loc) 419 B
import { EditorView } from '@uiw/react-codemirror'; declare class InsertContent { private editorView; setEditorView(view: EditorView | null): void; insertContent(content: string, selection: { anchor: number; head: number; }): void; insertTextAtCursor(content: string): void; undo(): void; redo(): void; } declare const insertContent: InsertContent; export { insertContent };