fix documentation (#9327)

This commit is contained in:
Joffrey JAFFEUX 2020-03-31 17:19:47 +02:00 committed by GitHub
parent f724cf1cfe
commit 5112648796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -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"); * });
* }
* );
* ``` * ```
* *
**/ **/