session
1
i try to Create to create a “dynamic editor toolbar buttons” and followed the description under https://tiddlywiki.com/
<$action-sendmessage
$message="tm-edit-text-operation"
$param="wrap-selection"
prefix="''"
suffix="''"
/>
if i insert
<$action-sendmessage
$message="tm-edit-text-operation"
$param="wrap-selection"
prefix=" <a href=" "
suffix=" " target="_blank" tooltip="show">{{ICON.png}}</a> "
/>
the buttons does not work…
what can i do different - thanks for help
You can’t use literal double-quote characters within the quoted prefix="..." and suffix="..." parameters.
To avoid this, you can use single quotes to enclose the parameter values, like this:
<$action-sendmessage
$message="tm-edit-text-operation"
$param="wrap-selection"
prefix=' <a href=" '
suffix=' " target="_blank" tooltip="show">{{ICON.png}}</a> '
/>
enjoy,
-e
session
3
thanks so much @EricShulman for helping…
works just great now!
i love this option to edit the Toolbar