Mark, See here, I have re-released the beta for my local-viewtemplate field. Just create the field on any install and type `<<noto>>`
Regards Tony On Tuesday, July 7, 2020 at 10:45:35 AM UTC+10, TW Tones wrote: > > Mark, > > You have persuaded me to make a button. I personally do not like putting > macros in the text field to define what the wiki does. I prefer to use the > text field for content. > > I already created a view template field in tiddlers who's content is then > transcluded in the view template, in this case I just enter `<<noto>>`. > Attached - just drop it on a wiki, then add the field local-viewtemplate > containing <<noto>> > > Thus the logic is in the view template and I can use the view toolbar to > toggle anything. For example you can test for > `local-viewtemplate<noto-string>` > where noto string is `<<noto>>` thus any toggle button can appear only when > this is true on the currentTiddler. > > Cheeky, "User based of 4" if this were true its only because its new. > > Love your work > > Regards > TW Tones aka TonyM > > > On Tuesday, July 7, 2020 at 10:18:35 AM UTC+10, Mark S. wrote: >> >> I like dropping in a macro and ... away you go. I don't want things to >> become too complicated. >> >> Unfortunately, the toolbar doesn't know about the *contents* of it's >> tiddler. That is, it doesn't know anything about the macro it contains. >> And, of course, someone could, in a spate of cruelty, put two macros in. >> >> However, I can imagine a way to communicate between the document and the >> toolbar. There could be a "Register" button that registers the document >> originating tiddler and the tag name somewhere. After that a toolbar icon >> would appear as needed. The toolbar would then know where to look for all >> the info it needs. But I'm not sure if it's worth the effort. Especially >> with a user-base of 4 ;-) >> >> There was the "export to clipboard" project from a week ago ( >> https://marxsal.github.io/various/playground.html) which kind of does >> the same thing. Note that the export tool can not collect the wikitext >> because there is no tool in the TiddlyWiki set that renders *back* to >> wikitext. The only way to acquire that is via the noto macro machinery >> which can look at each individual wiki in the set and assembly the complete >> document. >> >> Thanks! >> >> On Monday, July 6, 2020 at 3:52:38 PM UTC-7, TW Tones wrote: >>> >>> Mark, >>> >>> Beautiful. The read mode caps the whole project off, from brainstorm to >>> publishing thanks. >>> >>> You seem reluctant to use a viewToolbar button, shall I create one that >>> becomes visible when in publish mode? >>> >>> Regards >>> Tony >>> >>> >>> On Tuesday, July 7, 2020 at 8:22:37 AM UTC+10, Mark S. wrote: >>>> >>>> >>>> There is now a Publication/Read-only mode. Hopefully I didn't break >>>> anything making it, because a lot of CSS got moved around. The button is >>>> down in the settings. Once you're in the view mode, to get back to regular >>>> mode hover over the bottom of the "document" (usually the bottom of the >>>> tiddler) and it will flash a green button to press. >>>> >>>> https://marxsal.github.io/various/notowritey.html >>>> >>> -- 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/f6b305c4-6b04-4b4f-b7ae-9220ab295d06o%40googlegroups.com.

