mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 23:03:50 +00:00
use Cascade to set dynannotate ViewTemplate (#6520)
This commit is contained in:
parent
84ad758829
commit
3f0fb71635
@ -16,14 +16,13 @@ Once enabled, this example demonstrates several features:
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<$button>
|
<$button>
|
||||||
<$action-setfield $tiddler="$:/core/ui/ViewTemplate/body" $field="text" $value={{$:/plugins/tiddlywiki/dynannotate/examples/viewtemplate/text}}/>
|
<$action-setfield $tiddler="$:/config/ViewTemplateTitleFilters/dynannotate" tags="$:/tags/ViewTemplateTitleFilter" text="[[$:/plugins/tiddlywiki/dynannotate/examples/viewtemplate/text]]" list-before="$:/config/ViewTemplateBodyFilters/default"/>
|
||||||
<$action-setfield $tiddler="$:/core/ui/ViewTemplate/body" $field="tags" $value="$:/tags/ViewTemplate"/>
|
|
||||||
Click here to use the custom view template
|
Click here to use the custom view template
|
||||||
</$button>
|
</$button>
|
||||||
|
|
||||||
<$button>
|
<$button>
|
||||||
<$action-deletetiddler $tiddler="$:/core/ui/ViewTemplate/body"/>
|
<$action-deletetiddler $tiddler="$:/config/ViewTemplateTitleFilters/dynannotate"/>
|
||||||
Click here to revert to the core view template
|
Click here to revert to the core view template
|
||||||
</$button>
|
</$button>
|
||||||
|
|
||||||
<$codeblock code={{$:/plugins/tiddlywiki/dynannotate/examples/viewtemplate/text}}/>
|
<$codeblock code={{$:/plugins/tiddlywiki/dynannotate/examples/viewtemplate/text}}/>
|
Loading…
x
Reference in New Issue
Block a user