mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46:14 -04:00
pad: Add clientVars
to postAceInit
hook context
This allows plugins to avoid the `clientVars` global variable.
This commit is contained in:
parent
b683cdfe0f
commit
0d65dc8a44
3 changed files with 11 additions and 2 deletions
|
@ -229,7 +229,10 @@ 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.
|
||||
2. clientVars - Object containing client-side configuration such as author ID
|
||||
and plugin settings. Your plugin can manipulate this object via the
|
||||
`clientVars` server-side hook.
|
||||
3. pad - the pad object of the current pad.
|
||||
|
||||
## postToolbarInit
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue