I did something similar with my wiki, using a toolbar tiddler:
tags
$:/tags/EditorToolbar
body
<$action-sendmessage
$message="tm-edit-text-operation"
$param="replace-selection"
text="[img width=100 []]"
/>
fields
condition :[<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.
tiddlywiki]]
shortcuts: ((Import-Image))
Now when you press ctrl-shift-K "[img width=100 []]" should be
automatically generated, after that you only need to copy the link or the
name of the image tiddler inside the square brackets.
Cheers
kebi
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d2638f24-ecf6-4e7e-98d5-d02fa22fa7fdo%40googlegroups.com.