Fixing documentation of collectContentPre

This commit is contained in:
Luiza Pagliari 2015-05-15 11:18:58 -03:00
parent 9e9207d8b6
commit 6bd2013c71
1 changed files with 7 additions and 7 deletions

View File

@ -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.