Roo/form/HtmlEditor/ToolbarStandard.js
authorAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 07:49:54 +0000 (15:49 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Dec 2015 07:49:54 +0000 (15:49 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index f27d9c6..59de327 100644 (file)
@@ -394,7 +394,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                 });
             }
              cmenu.menu.items.push({
-                actiontype : 'word',
+                actiontype : 'tablewidths',
                 html: 'Remove Table Widths',
                 handler: function(a,b) {
                     editorcore.cleanTableWidths();
@@ -426,7 +426,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                 tabIndex:-1
             });
              cmenu.menu.items.push({
-                actiontype : 'word',
+                actiontype : 'tidy',
                 html: 'Tidy HTML Source',
                 handler: function(a,b) {
                     editorcore.doc.body.innerHTML = editorcore.domToHTML();