title: $:/plugins/tiddlywiki/text-slicer/ui/tiddler/toolbar/title
tags: $:/tags/TextSlicerToolbar
\define renameProxyTitle()
$:/config/plugins/tiddlywiki/text-slicer/rename-$(currentTiddler)$
\end
\define body()
<$edit-text tag="input" tiddler=<
> placeholder="Rename" default=<>/>
<$reveal type="nomatch" state="""$(renameProxyTitle)$""" text=<> default=<>>
<$button>
<$action-deletetiddler $tiddler=<>/>
cancel
$button>
<$button>
<$action-sendmessage $message="tm-rename-tiddler" from=<> to={{$(renameProxyTitle)$}}/>
<$action-deletetiddler $tiddler=<>/>
rename
$button>
<$set name="proxy-title" value={{$(renameProxyTitle)$}}>
<$list filter="""[is[tiddler]]""">
Warning: tiddler already exists
$list>
$set>
$reveal>
\end
<>