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

index c0d749e..864292f 100644 (file)
@@ -247,11 +247,11 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
          
         if (tn.length && tn == 'BODY') {
             this.deleteBtn.hide();
-            this.hide();
-            this.hideActiveGroup();
+            
             return;
             
         }
+        this.deleteBtn.show();
         
         
         Roo.bootstrap.menu.Manager.hideAll();