Adithya B M wrote: > > I am currently stuck at how to "do" something when the toolbar button is > clicked. Are there any tutorials about this? >
Well, a toolbar button typically includes a ButtonWidget <https://tiddlywiki.com/prerelease/#ButtonWidget> which is a typical widget used for firing actions, i.e by containing ActionWidgets <https://tiddlywiki.com/prerelease/#ActionWidgets>. There are ways to send messages <https://tiddlywiki.com/prerelease/#Messages>but this is definitely not my expertise, I extremely rarely use these and I do quite a bit of wikitext coding... but then, maybe I'm missing out on something. You cannot execute some javascript in TW in the usual webpage sense. The TW system intentionally removes the <script> tags on load for safety. The JS instead has to be built into widgets or similar. I don't know any JS so this area is beyond me. Sorry if this answer is not very helpful but maybe it gives some clues what to ask about. <:-) -- 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/37ff09c4-5ac5-402f-879b-bdeb43531d16o%40googlegroups.com.

