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

index 613cad4..c0d749e 100644 (file)
@@ -245,7 +245,13 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
        
         btns.get('link').setActive(tn == 'A');
          
-        
+        if (tn.length && tn == 'BODY') {
+            this.deleteBtn.hide();
+            this.hide();
+            this.hideActiveGroup();
+            return;
+            
+        }
         
         
         Roo.bootstrap.menu.Manager.hideAll();