| 3 | import ToastuiEditorViewer from '@toast-ui/editor/dist/toastui-editor-viewer'; |
| 4 | |
| 5 | export 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 | |
| 17 | export type EventNames = keyof EventMapping; |
| 18 |
nothing calls this directly
no outgoing calls
no test coverage detected