我里面有这段代码 compositionComplete()
this.docEditor = aceEditorBindingHandler.getEditorBySelection($(docEditorSelector);
// this.docEditor is of type AceAjax.Editor
if (this.docEditor) {
this.docEditor.getSession().on("tokenizerUpdate", () => {
// do stuff
});
}
但它永远不会被击中。
如果我将事件更改为“ change
”,则内容更改时会触发代码。
但这不是我需要的。
任何想法 ?有人吗?