Roo/form/HtmlEditor/ToolbarStandard.js
authorAlan Knowles <alan@roojs.com>
Thu, 26 Sep 2019 02:21:43 +0000 (10:21 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Sep 2019 02:21:43 +0000 (10:21 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js

index 0c0f7d4..03ce483 100644 (file)
@@ -436,6 +436,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype,  {
                     c.select('[class]').each(function(s) {
                         s.dom.removeAttribute('class');
                     });
+                    editorcore.cleanWord();
                     editorcore.syncValue();
                 },
                 tabIndex:-1