That's a nice example. But what I wanted is a "partial" copy-to-clipboard, which isn't possible atm. The <$button> body </$button> is used to create the button-text instead of defining the text, that should be copied.
So the widget I'm imagining is more like this <$clipboard buttonText="copy to clipboard" class="" showCode=yes/no showText=yes/no mode=block/inline template="name of a template tiddler"> Content, that is copied to the clipboard </$clipboard> just brainstorming -m -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/c4f96160-5754-4379-b3b5-9d4366108fdco%40googlegroups.com.