projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5063ede
)
Roo/HtmlEditorCore.js
author
Alan
<alan@roojs.com>
Tue, 28 Sep 2021 05:38:31 +0000
(13:38 +0800)
committer
Alan
<alan@roojs.com>
Tue, 28 Sep 2021 05:38:31 +0000
(13:38 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
97c9f84
..
a181358
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-463,6
+463,7
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
'dblclick': this.onEditorEvent,
'click': this.onEditorEvent,
'keyup': this.onEditorEvent,
+ 'paste': this.onPasteEvent,
buffer:100,
scope: this
});
@@
-490,7
+491,10
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
this.owner.fireEvent('initialize', this);
this.pushValue();
},
-
+
+ onPasteEvent : function(e,v) {
+ this.owner.fireEvent('paste', e, v);
+ },
// private
onDestroy : function(){