2015-08-31 15:49:47 +00:00
|
|
|
title: $:/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button
|
2015-08-01 12:15:24 +00:00
|
|
|
tags: $:/tags/ViewToolbar
|
2015-08-03 14:10:35 +00:00
|
|
|
list-before: $:/core/ui/Buttons/edit
|
2017-07-18 14:44:27 +00:00
|
|
|
caption: {{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}} Slice text tiddler
|
|
|
|
description: Slice this text tiddler by headings and lists
|
2015-08-01 12:15:24 +00:00
|
|
|
|
2017-07-12 15:47:52 +00:00
|
|
|
\whitespace trim
|
|
|
|
|
2024-09-05 17:40:18 +00:00
|
|
|
\procedure hint()
|
2017-12-14 14:16:54 +00:00
|
|
|
Slice this text tiddler into chunks
|
2015-08-03 08:13:45 +00:00
|
|
|
\end
|
|
|
|
|
2019-09-16 15:16:18 +00:00
|
|
|
<$list filter="[<currentTiddler>!is[image]!is[binary]]" variable="ignore">
|
2017-12-14 14:16:54 +00:00
|
|
|
<$button tooltip=<<hint>> aria-label=<<hint>> class=<<tv-config-toolbar-class>>>
|
2018-01-30 11:06:50 +00:00
|
|
|
<$action-sendmessage $message="tm-modal" $param="$:/plugins/tiddlywiki/text-slicer/ui/slice-modal" currentTiddler=<<currentTiddler>>/>
|
2024-09-05 17:40:18 +00:00
|
|
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
2015-08-31 15:49:47 +00:00
|
|
|
{{$:/plugins/tiddlywiki/text-slicer/images/text-slicer-icon}}
|
2024-09-05 17:40:18 +00:00
|
|
|
<%endif%>
|
|
|
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
2021-05-24 18:24:37 +00:00
|
|
|
<span class="tc-btn-text">Slice tiddler</span>
|
2024-09-05 17:40:18 +00:00
|
|
|
<%endif%>
|
2019-09-16 15:16:18 +00:00
|
|
|
</$button>
|
|
|
|
</$list>
|