roojs-ui.js
authorAlan <alan@roojs.com>
Thu, 19 Jan 2023 08:01:43 +0000 (16:01 +0800)
committerAlan <alan@roojs.com>
Thu, 19 Jan 2023 08:01:43 +0000 (16:01 +0800)
roojs-ui-debug.js
roojs-bootstrap.js
roojs-bootstrap-debug.js
roojs-all.js
roojs-debug.js
Roo/HtmlEditorCore.js

Roo/HtmlEditorCore.js

index df711e9..64935c5 100644 (file)
@@ -624,6 +624,8 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
                 });
             }
             this.insertAtCursor(d.innerHTML.replace(/&nbsp;/g,' '));
+             e.preventDefault();
+        this.owner.fireEvent('paste', this);
             return false;
         }
         if (cd.types.indexOf('text/html') < 0 ) {