mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
paste hook and class for editorcontainer
This commit is contained in:
parent
ed37f6efe3
commit
f774c2584f
2 changed files with 8 additions and 1 deletions
|
@ -4996,6 +4996,13 @@ function Ace2Inner(){
|
||||||
if(e.target.a || e.target.localName === "a"){
|
if(e.target.a || e.target.localName === "a"){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Call paste hook
|
||||||
|
hooks.callAll('acePaste', {
|
||||||
|
editorInfo: editorInfo,
|
||||||
|
rep: rep,
|
||||||
|
documentAttributeManager: documentAttributeManager
|
||||||
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
// CompositionEvent is not implemented below IE version 8
|
// CompositionEvent is not implemented below IE version 8
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="editorcontainerbox">
|
<div id="editorcontainerbox">
|
||||||
<div id="editorcontainer"></div>
|
<div id="editorcontainer" class="editorcontainer"></div>
|
||||||
<div id="editorloadingbox">
|
<div id="editorloadingbox">
|
||||||
<div id="passwordRequired">
|
<div id="passwordRequired">
|
||||||
<p data-l10n-id="pad.passwordRequired">You need a password to access this pad</p>
|
<p data-l10n-id="pad.passwordRequired">You need a password to access this pad</p>
|
||||||
|
|
Loading…
Reference in a new issue