Merge pull request #2665 from lpagliari/develop

Fixing documentation of collectContentPre
This commit is contained in:
John McLear 2015-05-15 18:07:08 +01:00
commit a2130b52af

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.