1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 14:24:51 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button.tid
2018-01-30 11:06:50 +00:00

21 lines
818 B
Plaintext

title: $:/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button
tags: $:/tags/ViewToolbar
list-before: $:/core/ui/Buttons/edit
caption: {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} Slice text tiddler
description: Slice this text tiddler by headings and lists
\whitespace trim
\define hint()
Slice this text tiddler into chunks
\end
<$button tooltip=<<hint>> aria-label=<<hint>> class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-modal" $param="$:/plugins/tiddlywiki/text-slicer/ui/slice-modal" currentTiddler=<<currentTiddler>>/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"> Slice tiddler</span>
</$list>
</$button>