Roo/HtmlEditorCore.js
authorAlan <alan@roojs.com>
Wed, 6 Oct 2021 03:38:54 +0000 (11:38 +0800)
committerAlan <alan@roojs.com>
Wed, 6 Oct 2021 03:38:54 +0000 (11:38 +0800)
Roo/HtmlEditorCore.js

index b355738..af48368 100644 (file)
@@ -527,7 +527,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         var txt = e.browserEvent.clipboardData.getData('Text'); // clipboard event
         var d = document.createElement('div');
         d.innerHTML = txt;
-        new Roo.htmleditor.FilterWord({ node : d });
+        new Roo.htmleditor.FilterStyleToTag({ node : d });
+        new Roo.htmleditor.FilterAttributes({ node : d });
+         
         this.insertAtCursor(d.innerHTML);
         
         e.preventDefault();