Roo/HtmlEditorCore.js
authorAlan <alan@roojs.com>
Mon, 27 Sep 2021 07:55:22 +0000 (15:55 +0800)
committerAlan <alan@roojs.com>
Mon, 27 Sep 2021 07:55:22 +0000 (15:55 +0800)
Roo/HtmlEditorCore.js

index eb19bfa..09a3ab8 100644 (file)
@@ -480,6 +480,10 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         
         
         
+        this.doc.on('paste', function(e,v ) {
+            this.owner.fireEvent('paste', e, v);
+        },this);
+        
         
         this.owner.fireEvent('initialize', this);
         this.pushValue();