@JanJo I am liking this button. I need one help with a filter for the viewtemplate cascade. I want the fullscreen tiddlers to use another viewtemplate using the cascade mechanism. What filter should I use to apply that viewtemplate to this fullscreen tiddler.
For the time being, I am using modified telumire’s version by vilc since it uses tag to make the tiddler fullscreen and hence it’s easier for me to create a filter for the viewtemplate cascade
I will have to do some more tests. In my short testing, there was some conflict my other viewtemplate cascades…view template was seen used on tiddlers outside of my intended use when I am using the filter which you gave. Will report back after more testing(which may take some more days since I am going for a short trip on the next few days)
The title filter operator is a constructor, not a modifier, which means that it will overwrite any prior steps in the filter rather than comparing them to its parameter. Essentially, [all[current]title{$:/temp/fullscreentiddler}] = [{$:/temp/fullscreentiddler}] - so the view template will show up everywhere whenever “$:/temp/fullscreentiddler” exists and has anything in its text field.
You’ll probably want to use [all[current]field:title{$:/temp/fullscreentiddler}] or [all[current]match{$:/temp/fullscreentiddler}] instead. Both should have essentially the same result - they’ll actually compare the current title to the text content of the $:/temp tiddler.
@JanJo Finally I was able make the full-screen button and keyboard shortcut work using your code. Demo link is given above. Just click on a tiddler title to make it the active tiddler and press Alt+F to see the full-screen mode with a different template. The images are not rendered here since they are local images.
Edit: Is it possible to make a tiddler in edit state into full-screen mode using your code?