({ editor: currentEditor }: { editor: Editor })
| 46 | } |
| 47 | |
| 48 | const handleUpdate = ({ editor: currentEditor }: { editor: Editor }) => { |
| 49 | if (currentEditor && !currentEditor.isDestroyed) { |
| 50 | handleTextChange(currentEditor) |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | editor.on('update', handleUpdate) |
| 55 |
nothing calls this directly
no outgoing calls
no test coverage detected