X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_HtmlEditorCore.js.html;h=ef5a76808f4a4e35506a7860bfc8c35a8aafca8c;hp=76e9aaa0c7d21617aa603fa109744aa130d5c5b6;hb=f8f2b8fa71b1a5f9c97c04e49c90d0a486cef907;hpb=caa2ade97b3fb3a067bcb1d4fe9bddab3043baab diff --git a/docs/src/Roo_HtmlEditorCore.js.html b/docs/src/Roo_HtmlEditorCore.js.html index 76e9aaa0c7..ef5a76808f 100644 --- a/docs/src/Roo_HtmlEditorCore.js.html +++ b/docs/src/Roo_HtmlEditorCore.js.html @@ -601,8 +601,8 @@ 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) { - // pasting images? + if (cd.files && cd.files.length > 0 && cd.types.indexOf('text/html') < 0) { + // pasting images? var urlAPI = (window.createObjectURL && window) || (window.URL && URL.revokeObjectURL && URL) || (window.webkitURL && webkitURL);