include event on paste and drrororororop

This commit is contained in:
John McLear 2015-12-05 19:06:40 +00:00
parent b3d44b6956
commit bf6e225aa2
1 changed files with 5 additions and 3 deletions

View File

@ -5001,7 +5001,8 @@ function Ace2Inner(){
hooks.callAll('acePaste', { hooks.callAll('acePaste', {
editorInfo: editorInfo, editorInfo: editorInfo,
rep: rep, rep: rep,
documentAttributeManager: documentAttributeManager documentAttributeManager: documentAttributeManager,
e: e
}); });
}) })
@ -5011,11 +5012,12 @@ function Ace2Inner(){
e.preventDefault(); e.preventDefault();
} }
// Call paste hook // Call drop hook
hooks.callAll('aceDrop', { hooks.callAll('aceDrop', {
editorInfo: editorInfo, editorInfo: editorInfo,
rep: rep, rep: rep,
documentAttributeManager: documentAttributeManager documentAttributeManager: documentAttributeManager,
e: e
}); });
}); });