1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 15:54:50 +00:00
TiddlyWiki5/core/ui/EditorToolbar/picture-dropdown.tid

22 lines
370 B
Plaintext
Raw Normal View History

title: $:/core/ui/EditorToolbar/picture-dropdown
\define replacement-text()
[img[$(imageTitle)$]]
\end
''{{$:/language/Buttons/Picture/Hint}}''
<$macrocall $name="image-picker" actions="""
<$action-sendmessage
$message="tm-edit-text-operation"
$param="replace-selection"
text=<<replacement-text>>
/>
<$action-deletetiddler
$tiddler=<<dropdown-state>>
/>
"""/>