Roo/form/HtmlEditor/ToolbarContext.js
authorAlan <alan@roojs.com>
Tue, 28 Dec 2021 06:38:01 +0000 (14:38 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Dec 2021 06:38:01 +0000 (14:38 +0800)
Roo/form/HtmlEditor/ToolbarContext.js

index 14757d6..10f4e8a 100644 (file)
@@ -703,7 +703,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype,  {
         
         tb.addFill();
         tb.addButton({
-            text: 'Remove Block or Formating', // remove the tag, and puts the children outside...
+            text: block && block.deleteTitle ? block.deleteTitle  : 'Remove Block or Formating', // remove the tag, and puts the children outside...
     
             listeners : {
                 click : function ()