mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
pass pad in postAceInit hook
no way for plugins to access current pad otherwise.
This commit is contained in:
parent
a554552bed
commit
bc5dc74f90
2 changed files with 2 additions and 1 deletions
|
@ -524,7 +524,7 @@ var pad = {
|
|||
if(padcookie.getPref("showAuthorshipColors") == false){
|
||||
pad.changeViewOption('showAuthorColors', false);
|
||||
}
|
||||
hooks.aCallAll("postAceInit", {ace: padeditor.ace});
|
||||
hooks.aCallAll("postAceInit", {ace: padeditor.ace, pad: pad});
|
||||
}
|
||||
},
|
||||
dispose: function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue