mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 20:10:03 +00:00
898e992694
1. Introduce template tiddlers for the document, each tiddler, and the tiddler toolbar 2. Move the text slicer toolbar button to the left of the edit button 3. Add a selectable toolbar, currently just containing the tiddler title
18 lines
689 B
Plaintext
18 lines
689 B
Plaintext
title: $:/plugins/tiddlywiki/text-slicer/ui/slice-button
|
|
tags: $:/tags/ViewToolbar
|
|
list-before: $:/core/ui/Buttons/edit
|
|
caption: {{$:/plugins/tiddlywiki/text-slicer/text-slicer-icon}} Slice tiddler
|
|
description: Slice this tiddler by headings and lists
|
|
|
|
\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/text-slicer-icon}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
<span class="tc-btn-text">Slice tiddler</span>
|
|
</$list>
|
|
</$button> |