(editor: Editor)
| 3 | import * as Actions from '../core/Actions'; |
| 4 | |
| 5 | const register = (editor: Editor): void => { |
| 6 | editor.addCommand('mceSave', () => { |
| 7 | Actions.save(editor); |
| 8 | }); |
| 9 | |
| 10 | editor.addCommand('mceCancel', () => { |
| 11 | Actions.cancel(editor); |
| 12 | }); |
| 13 | }; |
| 14 | |
| 15 | export { |
| 16 | register |
nothing calls this directly
no test coverage detected
searching dependent graphs…