paste hook and class for editorcontainer

This commit is contained in:
John McLear 2015-11-06 13:21:25 +00:00
parent ed37f6efe3
commit f774c2584f
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -100,7 +100,7 @@
</div>
<div id="editorcontainerbox">
<div id="editorcontainer"></div>
<div id="editorcontainer" class="editorcontainer"></div>
<div id="editorloadingbox">
<div id="passwordRequired">
<p data-l10n-id="pad.passwordRequired">You need a password to access this pad</p>