Skip to content

Commit 289c875

Browse files
committed
handle input on all changes
1 parent 5e5abda commit 289c875

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/editor/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ function editor(app, opts, done){
9393
lineNumbers: true
9494
});
9595

96-
codeEditor.on('inputRead', handleInput);
97-
codeEditor.on('keyHandled', handleInput);
96+
codeEditor.on('change', handleInput);
9897

9998
codeEditor.setOption('styleSelectedText', true);
10099
codeEditor.setOption('tabSize', 2);

0 commit comments

Comments
 (0)