Yesterday I upgraded my Photoshop HTML panel editor with Linting. But noticed that the events not dispatching or I cannot catch them.
These are the new lines in my .html:
<link rel="stylesheet" href="node_modules/codemirror/addon/lint/lint.css">
This is the .js addition:
JSHINT = require( 'jshint' ).JSHINT;
And this is the way I am trying to catch them:
CodeMirror.on( editor, "change", onType )
The linting is working fine. Except this event issue. When I type something in, no event fires except if I hit backspace, cursor keys or enter.
Could You please point me to the right direction?
Thanks a lot,