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/8bfe6c2c-2e48-4467-93c8-50e0e3b31d81o%40googlegroups.com.

Reply via email to