TiddlyWiki5/core/ui/EditorToolbar/picture-dropdown.tid

22 lines
370 B
Plaintext

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>>
/>
"""/>