mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 00:39:17 +00:00
fix documentation (#9327)
This commit is contained in:
parent
f724cf1cfe
commit
5112648796
@ -1027,11 +1027,9 @@ class PluginApi {
|
||||
* For example, to replace the topic title:
|
||||
*
|
||||
* ```
|
||||
* api.decorateTopicTitle(
|
||||
* (topicModel, node, topicTitleType) => {
|
||||
* node.innerText("my new topic title");
|
||||
* }
|
||||
* );
|
||||
* api.decorateTopicTitle((topicModel, node, topicTitleType) => {
|
||||
* node.innerText = "my new topic title";
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user