projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5da065c
)
Changed Roo/HtmlEditorCore.js
author
leon
<leon@roojs.com>
Wed, 3 May 2023 07:13:24 +0000
(15:13 +0800)
committer
leon
<leon@roojs.com>
Wed, 3 May 2023 07:13:24 +0000
(15:13 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
6599b4d
..
5b0f812
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-601,6
+601,7
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
// even pasting into a 'email version' of this widget will have to clean up that mess.
var cd = (e.browserEvent.clipboardData || window.clipboardData);
+
// check what type of paste - if it's an image, then handle it differently.
if (cd.files && cd.files.length > 0 && cd.types.indexOf('text/html') < 0) {
// pasting images?