mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
chat: Allow chatNewMessage
hook to control rendering
This commit is contained in:
parent
2597b940f4
commit
f1f4ed7c58
4 changed files with 27 additions and 6 deletions
|
@ -54,6 +54,8 @@
|
|||
* 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.
|
||||
* `rendered`: Allows plugins to completely override how the message is
|
||||
rendered in the UI.
|
||||
|
||||
# 1.8.14
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue