Roo/form/HtmlEditor/ToolbarContext.js
authorAlan <alan@roojs.com>
Fri, 17 Dec 2021 03:32:15 +0000 (11:32 +0800)
committerAlan <alan@roojs.com>
Fri, 17 Dec 2021 03:32:15 +0000 (11:32 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index d48fa5a..b0e20a0 100644 (file)
@@ -365,7 +365,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
             
             
             if (block) {
-                Roo.fly(db).addClass('roo-ed-selection');
+                db.className +=  ' roo-ed-selection'; // since we removed it earlier... its not there..
                 tn = 'BLOCK.' + db.getAttribute('data-block');
                 
                 //this.editorcore.selectNode(db);