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:
|
* For example, to replace the topic title:
|
||||||
*
|
*
|
||||||
* ```
|
* ```
|
||||||
* api.decorateTopicTitle(
|
* api.decorateTopicTitle((topicModel, node, topicTitleType) => {
|
||||||
* (topicModel, node, topicTitleType) => {
|
* node.innerText = "my new topic title";
|
||||||
* node.innerText("my new topic title");
|
* });
|
||||||
* }
|
|
||||||
* );
|
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
Loading…
Reference in New Issue