Can someone please add Andreas's very specific, but precise and amazingly useful description below, to the core TW distribution in a Tiddler called "Adding Editor Buttons"?
On Thursday, 9 February 2017 12:12:29 UTC-5, Andreas Hahn wrote: > > > You can very easily add your own editor buttons in the editor toolbar. > Just create a tiddler, tag it with $:/tags/EditorToolbar and include the > following fields: > > - condition: filter-like expression to determine if the button should > be shown in the editor .. for normal tiddlers, this should be set to > [<targetTiddler>!has[type]] > [<targetTiddler>type[text/vnd.tiddlywiki]] > - icon: if you want an icon > - caption: if you want a textual caption next to the icon > - description: to add a tooltip > > Furthermore the following widget-message will insert text at the current > selection, put this as the complete content for the tiddler: > > <$action-sendmessage > $message="tm-edit-text-operation" > $param="replace-selection" > text="Hello Mat!" > /> > > > > -- 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/f4561823-a889-4121-93e4-fe7913ddf270%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

