diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index 8c03fa66..220136af 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -4996,6 +4996,13 @@ function Ace2Inner(){ if(e.target.a || e.target.localName === "a"){ e.preventDefault(); } + + // Call paste hook + hooks.callAll('acePaste', { + editorInfo: editorInfo, + rep: rep, + documentAttributeManager: documentAttributeManager + }); }) // CompositionEvent is not implemented below IE version 8 diff --git a/src/templates/pad.html b/src/templates/pad.html index 5311b320..84f9fef8 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -100,7 +100,7 @@
-
+

You need a password to access this pad