Heya,

I'm trying to create an editor toolbar button that will add some predefined 
html/css text, and it's not working quite right. I can't figure out what 
I'm doing wrong. 

The code:

<$action-sendmessage
$message="tm-edit-text-operation"
$param="replace-selection"
text="<span class="blk"></span>
<span class="blk"></span>
<span class="blk"></span>
<span class="blk"></span>
<span class="blk"></span>
<span class="ylw"></span>
<span class="wht"></span>
<span class="ylw"></span>"
/>

In the image attached, you'll see that I also tried escaping characters, 
but I still have the same issue - all of the contents of the tiddler appear 
IN the button. Further, it doesn't do anything. If I click that mess of a 
button, nothing happens.

What am I doing wrong?

Thanks,
Aidan





-- 
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/078ec2d9-abba-47d7-8e8c-0545523f2e79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to