mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
DEV: Improve description of addPosterIcon plugin api.
This commit is contained in:
@ -267,6 +267,7 @@ class PluginApi {
|
||||
* className (optional) a css class to apply to the icon
|
||||
* url (optional) where to link the icon
|
||||
* title (optional) the tooltip title for the icon on hover
|
||||
* text (optional) text to display alongside the emoji or icon
|
||||
*
|
||||
* ```
|
||||
* api.addPosterIcon((cfs, attrs) => {
|
||||
|
Reference in New Issue
Block a user