From bf6e225aa29a2ff403b31d28239f8f4a28b8550a Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 5 Dec 2015 19:06:40 +0000 Subject: [PATCH] include event on paste and drrororororop --- src/static/js/ace2_inner.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index 9bc895fcc..ccc166688 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -5001,7 +5001,8 @@ function Ace2Inner(){ hooks.callAll('acePaste', { editorInfo: editorInfo, rep: rep, - documentAttributeManager: documentAttributeManager + documentAttributeManager: documentAttributeManager, + e: e }); }) @@ -5011,11 +5012,12 @@ function Ace2Inner(){ e.preventDefault(); } - // Call paste hook + // Call drop hook hooks.callAll('aceDrop', { editorInfo: editorInfo, rep: rep, - documentAttributeManager: documentAttributeManager + documentAttributeManager: documentAttributeManager, + e: e }); });