(editor: Editor, text: string, options: TextInsertTextOptions = {})
| 6 | const { insertText: defaultInsertText } = Transforms |
| 7 | |
| 8 | export const insertText = (editor: Editor, text: string, options: TextInsertTextOptions = {}) => { |
| 9 | const { at = editor.selection } = options |
| 10 | if (handleInserInGrid(editor, at)) { |
| 11 | defaultInsertText(editor, text, options) |
| 12 | } |
| 13 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…