Roo/bootstrap/form/HtmlEditorToolbar/Context.js
authorAlan <alan@roojs.com>
Fri, 10 Feb 2023 07:04:36 +0000 (15:04 +0800)
committerAlan <alan@roojs.com>
Fri, 10 Feb 2023 07:04:36 +0000 (15:04 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Context.js

index 90129eb..ba4e595 100644 (file)
@@ -289,7 +289,7 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Context, Roo.bootstrap.nav.Simpl
     
     onDelete : function()
     {
-        var range = editorcore.createRange();
+        var range = this.editorcore.createRange();
         var selection = this.editorcore.getSelection();
         range.setStart(stn,0);
         range.setEnd(stn,0);