mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 09:56:15 -04: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"){
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
// Call paste hook
|
||||
hooks.callAll('acePaste', {
|
||||
editorInfo: editorInfo,
|
||||
rep: rep,
|
||||
documentAttributeManager: documentAttributeManager
|
||||
});
|
||||
})
|
||||
|
||||
// CompositionEvent is not implemented below IE version 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue