diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 8713e9262..90d6ace8f 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -76,12 +76,13 @@ tags: $:/tags/Macro \end - -\procedure toc(tag, sort:"", itemClassFilter:"", exclude, viewField, viewFieldTemplate) -<$macrocall $name="toc-body" tag=<> sort=<> itemClassFilter=<> exclude=<>/> +v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter +================================================================== --> +\procedure toc(tag, sort:"", itemClassFilter, exclude, viewField, viewFieldTemplate) +<$macrocall $name="toc-body" tag=<> sort=<> exclude=<>/> \end \procedure toc-selective-expandable(tag,sort:"",itemClassFilter,exclude,path,viewField,viewFieldTemplate) -
    <$list filter=` [subfilter] @@ -248,13 +248,13 @@ If an item has no children, there is no open/close chevron <% if [all[current]toc-link[no]] %> <$macrocall $name="toc-unlinked-selective-expandable-body" - tag=<> sort=<> itemClassFilter=<> exclude=<<_excluded>> path=<<_path>> + tag=<> sort=<> exclude=<<_excluded>> path=<<_path>> viewField=<> viewFieldTemplate=<> /> <% else %> <$macrocall $name="toc-linked-selective-expandable-body" - tag=<> sort=<> itemClassFilter=<> exclude=<<_excluded>> path=<<_path>> + tag=<> sort=<> exclude=<<_excluded>> path=<<_path>> viewField=<> viewFieldTemplate=<> /> <% endif %> @@ -270,7 +270,6 @@ Shows a tabbed toc. If a toc-item link is clicked it will open the tiddler in the story =================================================================== --> \procedure toc-tabbed-external-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude, viewField, viewFieldTemplate) - <$tiddler tiddler={{{ [get[text]] }}}>
    <$linkcatcher to=<>> @@ -280,7 +279,6 @@ If a toc-item link is clicked it will open the tiddler in the story $name="toc-selective-expandable" tag=<> sort=<> - itemClassFilter="[all[current]] -[get[text]]" exclude=<> viewField=<> viewFieldTemplate=<>