mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
Merge pull request #2665 from lpagliari/develop
Fixing documentation of collectContentPre
This commit is contained in:
commit
a2130b52af
1 changed files with 7 additions and 7 deletions
|
@ -206,7 +206,7 @@ This hook is called before the content of a node is collected by the usual metho
|
||||||
E.g. if you need to apply an attribute to newly inserted characters,
|
E.g. if you need to apply an attribute to newly inserted characters,
|
||||||
call cc.doAttrib(state, "attributeName") which results in an attribute attributeName=true.
|
call cc.doAttrib(state, "attributeName") which results in an attribute attributeName=true.
|
||||||
|
|
||||||
If you want to specify also a value, call cc.doAttrib(state, "attributeName:value")
|
If you want to specify also a value, call cc.doAttrib(state, "attributeName::value")
|
||||||
which results in an attribute attributeName=value.
|
which results in an attribute attributeName=value.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue