Since Birthe was able to find examples, and since I needed a stylesheet swapper to work with Hubert's suggested CSS for fonts, I came up with the attached.
You just specify the two stylesheets that you want to swap between <<swapper StyleSheet-Edit-Normal StyleSheet-Edit-Large>> and it gives you a button accordingly. If you have two buttons, that means you currently have two sheets tagged as stylesheets. Just pick the button that you want to enforce. On Wednesday, October 9, 2019 at 11:19:27 AM UTC-7, Birthe C wrote: > > Hi David, > > For adding and removing tag $:/tags/Stylesheet I think you can follow the > examples https://tiddlywiki.com/#FieldMangler%20Widget%20(Examples) > > Birthe > > > onsdag den 9. oktober 2019 kl. 18.11.46 UTC+2 skrev David Gifford: >> >> Hi all >> >> I am seeing I need to have two stylesheets, one for publishing on the web >> and one for printing. >> >> I would like to click on a web button to add the stylesheet tag to the >> webcss tiddler and remove it from the printcss tiddler, and another button >> to do the opposite. Of course tiddlywiki.com did not have an easy >> example, and a search in Google docs only turned up one that requires four >> buttons! >> >> Any ideas? This should be basic documentation. Blessings, Dave >> > -- 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/280ffbfb-db98-4631-bc33-98956158c7bd%40googlegroups.com.
StyleSwapper.json
Description: application/json

