mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 06:13:17 +00:00
Missed off last commit
This commit is contained in:
parent
4cac7b6784
commit
4d4181b048
25
plugins/tiddlywiki/text-slicer/toolbar-title.tid
Normal file
25
plugins/tiddlywiki/text-slicer/toolbar-title.tid
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
title: $:/plugins/tiddlywiki/text-slicer/toolbar/title
|
||||||
|
tags: $:/tags/TextSlicerToolbar
|
||||||
|
|
||||||
|
\define renameProxyTitle()
|
||||||
|
$:/config/plugins/tiddlywiki/text-slicer/rename-$(currentTiddler)$
|
||||||
|
\end
|
||||||
|
|
||||||
|
\define body()
|
||||||
|
<div class="tc-text-slicer-rename">
|
||||||
|
<$edit-text tag="input" tiddler=<<renameProxyTitle>> placeholder="Rename" default=<<currentTiddler>>/>
|
||||||
|
<$reveal type="nomatch" state="""$(renameProxyTitle)$""" text=<<currentTiddler>> default=<<currentTiddler>>>
|
||||||
|
<$button>
|
||||||
|
<$action-deletetiddler $tiddler=<<renameProxyTitle>>/>
|
||||||
|
cancel
|
||||||
|
</$button>
|
||||||
|
<$button>
|
||||||
|
<$action-sendmessage $message="tm-rename-tiddler" from=<<currentTiddler>> to={{$(renameProxyTitle)$}}/>
|
||||||
|
<$action-deletetiddler $tiddler=<<renameProxyTitle>>/>
|
||||||
|
rename
|
||||||
|
</$button>
|
||||||
|
</$reveal>
|
||||||
|
</div>
|
||||||
|
\end
|
||||||
|
|
||||||
|
<<body>>
|
Loading…
Reference in New Issue
Block a user