mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
chat: Give chatNewMessage
hook access to the raw message object
This commit is contained in:
parent
fc5a3f553d
commit
2597b940f4
4 changed files with 30 additions and 1 deletions
|
@ -50,6 +50,10 @@
|
|||
* The `helper.aNewPad()` function (accessible to client-side tests) now
|
||||
accepts hook functions to inject when opening a pad. This can be used to
|
||||
test any new client-side hooks your plugin provides.
|
||||
* Chat improvements:
|
||||
* The `chatNewMessage` client-side hook context has new properties:
|
||||
* `message`: Provides access to the raw message object so that plugins can
|
||||
see the original unprocessed message text and any added metadata.
|
||||
|
||||
# 1.8.14
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue