From 5cd3cdc20879fff16723809932e7b9a45be9ed0e Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 27 Aug 2018 14:57:16 +0200 Subject: [PATCH] Don't handle drop events in the blockbase64 plugin --- www/pad/disable-base64.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pad/disable-base64.js b/www/pad/disable-base64.js index bbcbd1348..c917a1c57 100644 --- a/www/pad/disable-base64.js +++ b/www/pad/disable-base64.js @@ -11,7 +11,7 @@ return ret; }; - var chkImg = function () { + /*var chkImg = function () { // don't execute code if the editor is readOnly if (editor.readOnly) { return; @@ -27,7 +27,7 @@ editor.document.on('drop', chkImg); // For IE editor.document.getBody().on('drop', chkImg); - }); + });*/ editor.on('paste', function(e) { var html = e.data.dataValue;