mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Fixing documentation of collectContentPre
This commit is contained in:
parent
9e9207d8b6
commit
6bd2013c71
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…
Reference in a new issue