mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 06:09: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
|
@ -17,6 +17,12 @@
|
|||
[citizenos/ep_image_upload#49](https://github.com/citizenos/ep_image_upload/pull/49)
|
||||
for an example fix.
|
||||
|
||||
### Notable enhancements
|
||||
|
||||
* For plugin authors:
|
||||
* `clientVars` was added to the context for the `postAceInit` client-side
|
||||
hook. Plugins should use this instead of the `clientVars` global variable.
|
||||
|
||||
# 1.8.14
|
||||
|
||||
### Security fixes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue