1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-12 11:10:27 +00:00

allow tv-toc-show-new-child to be used with tagLikeMode

This commit is contained in:
pmario 2024-07-23 13:00:05 +02:00
parent 172d955201
commit 00cc08da91

View File

@ -62,7 +62,7 @@ The very first toc macro is _not_ reused. So it can be used as a simple referenc
<!-- <span class="tc-small-gap-left">{{||$:/core/ui/Buttons/new-here}}</span> --> <!-- <span class="tc-small-gap-left">{{||$:/core/ui/Buttons/new-here}}</span> -->
<% elseif [<_mode>match[tocpMode]] %> <% elseif [<_mode>match[tocpMode]] %>
<span class="tc-small-gap-left"><$macrocall $name="_newChild" field=<<parentField>>/></span> <span class="tc-small-gap-left"><$macrocall $name="_newChild" field=<<parentField>>/></span>
<% elseif [<_mode>match[tagLikeModeXXX]] %> <% elseif [<_mode>match[tagLikeMode]] %>
<span class="tc-small-gap-left"><$macrocall $name="_newChild" field=<<tagField>>/></span> <span class="tc-small-gap-left"><$macrocall $name="_newChild" field=<<tagField>>/></span>
<% endif %> <% endif %>
<% endif %> <% endif %>