Hi Evolena,

ahh, great :-)
I did it now with (and the tag $:/tags/TopRightBar):
<div class="tooltip">
<$checkbox tiddler="$:/plugins/tobibeer/preview/defaults/exclude" 
field="text" checked="[all[tiddlers]]" unchecked="[is[system]] 
[all[shadows]] [!has[text]]" default="[is[system]] [all[shadows]] 
[!has[text]]"></$checkbox><span class="tooltiptext"> Preview Deaktivieren?
</span>
</div>

and it works perfect- without saving/reloading :-))


Now I'd like to make the state more visible for others.
Means: I would like to have a button for this.
It should show "Preview?" and should turn green, when the preview is 
enabled and should turn red, when preview is disabled.
Maybe it has to have a checkbox inside it- clicking the button means 
clicking the checkbox?
Or is it better to make it without checkbox inside, but sending messages?
If sending messages is better, how should I write that?
It should be only ONE button.

Do you know what I try to explain?

But now for the first: A great thank you!!
Surya



Am Donnerstag, 29. März 2018 00:29:24 UTC+2 schrieb Evolena:
>
> Instead of disabling the whole plugin, you could try to modify the 
> "exclude" filter configuration (
> $:/plugins/tobibeer/preview/defaults/exclude 
> <http://tobibeer.github.io/tw5-plugins/#%24%3A%2Fplugins%2Ftobibeer%2Fpreview%2Fdefaults%2Fexclude>
>  
> by adding/removing [all[tiddlers]]) or the classes for which there is no 
> preview ($:/plugins/tobibeer/preview/defaults/not 
> <http://tobibeer.github.io/tw5-plugins/#%24%3A%2Fplugins%2Ftobibeer%2Fpreview%2Fdefaults%2Fnot>
>  
> by adding/removing tc-story-river or even tc-body for example)
>
>

-- 
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/d9283edb-61a8-454c-aed3-2f484f77e1b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to