Hi Dave!
That was very educational. I had no idea it was so easy to make buttons now.
This code seems to work:
<$action-sendmessage
$message="tm-edit-text-operation"
$param="wrap-selection"
prefix="""<span class="doublelist">"""
suffix="""</span>"""
/>
As you can see, all I did was turn the double quotes around the prefix and
suffix objects with triple quotes.
HTH
Mark
On Friday, November 18, 2016 at 8:30:47 AM UTC-8, David Gifford wrote:
>
> Hi guys
>
> I would like to create the following for the editor toolbar, since I use
> this a lot. But I know that the <, >, / and = symbols will break the
> widget. Is there a reference webpage for knowing what I need to replace
> certain characters with in order not to break things like this? I didn't
> see anything on TiddlyWiki, but it might simply be because I do not know
> what to put in the search window.
>
> <$action-sendmessage
> $message="tm-edit-text-operation"
> $param="wrap-selection"
> prefix="<span class="doublelist">"
> suffix="</span>"
> />
>
> Just to clarify, the 'wrap with @@.doublelist @@' option isn't an option
> in my case.
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/394632b7-11eb-47d4-b274-cfa6b5bfa71c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.