mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 18:06:15 -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
|
@ -126,6 +126,7 @@ Called from: src/static/js/pad.js
|
|||
Things in context:
|
||||
|
||||
1. ace - the ace object that is applied to this editor.
|
||||
2. pad - the pad object of the current pad.
|
||||
|
||||
There doesn't appear to be any example available of this particular hook being used, but it gets fired after the editor is all set up.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue