Roo/bootstrap/form/HtmlEditorToolbar/Context.js
authorAlan <alan@roojs.com>
Fri, 10 Feb 2023 06:49:57 +0000 (14:49 +0800)
committerAlan <alan@roojs.com>
Fri, 10 Feb 2023 06:49:57 +0000 (14:49 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Context.js

index d4bc0cf..b1e9680 100644 (file)
@@ -201,7 +201,7 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Context, Roo.bootstrap.nav.Simpl
         this.buildToolbarDelete();
           this.hide();
         // the all the btns;
-        this.editorcore.on('editorevent', this.updateToolbar, this);
+        this.editor.on('editorevent', this.updateToolbar, this);
         
     },
     onFirstFocus: function() {