mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-10 16:10:02 +00:00
![Jermolene](/assets/img/avatar_default.png)
Previously, the standard toolbar buttons exhibited uneven spacing due to the vestigial whitespace.
20 lines
730 B
Plaintext
20 lines
730 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 tiddler
|
|
description: Slice this tiddler by headings and lists
|
|
|
|
\whitespace trim
|
|
|
|
\define hint()
|
|
Slice this tiddler by headings and lists
|
|
\end
|
|
|
|
<$button message="tm-slice-tiddler" param=<<currentTiddler>> tooltip=<<hint>> aria-label=<<hint>> class=<<tv-config-toolbar-class>>>
|
|
<$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> |