MCPcopy
hub / github.com/nhn/tui.editor / EventMapping

Interface EventMapping

apps/react-editor/index.d.ts:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import ToastuiEditorViewer from '@toast-ui/editor/dist/toastui-editor-viewer';
4
5export interface EventMapping {
6 onLoad: EventMap['load'];
7 onChange: EventMap['change'];
8 onCaretChange: EventMap['caretChange'];
9 onFocus: EventMap['focus'];
10 onBlur: EventMap['blur'];
11 onKeydown: EventMap['keydown'];
12 onKeyup: EventMap['keyup'];
13 onBeforePreviewRender: EventMap['beforePreviewRender'];
14 onBeforeConvertWysiwygToMarkdown: EventMap['beforeConvertWysiwygToMarkdown'];
15}
16
17export type EventNames = keyof EventMapping;
18

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected