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

index a650fdf..f27d9c6 100644 (file)
@@ -393,6 +393,15 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     tabIndex:-1
                 });
             }
+             cmenu.menu.items.push({
+                actiontype : 'word',
+                html: 'Remove Table Widths',
+                handler: function(a,b) {
+                    editorcore.cleanTableWidths();
+                    editorcore.syncValue();
+                },
+                tabIndex:-1
+            });
             cmenu.menu.items.push({
                 actiontype : 'word',
                 html: 'Remove MS Word Formating',