Following @telumire 's idea, I would like to build a Tiddler Fullscreen Button
https://www.telumire.be/TiddlyTweaks/#%24%3A%2FThemeTweaks%2Ftiddler-full-screen%2Fbutton
Unlike his apporach, I would like to write the name to a temporary tiddler (in order not to modify the tiddler itself)
Problem: Transcluding the title this way does not seem to work:
<$tiddler={{$:/temp/fullscreentiddler}}>
.tc-tiddler-frame[data-tiddler-title="<$view field=title/>"] {
position: fixed;
inset: 0;
z-index: 1000!important;
max-width:unset;
width:unset;
height:unset;
margin:0;
right:<$text text={{{[{$:/state/sidebar}match[yes]then{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}else[0px]]}}}/>;
overflow-y: scroll;
}
[data-tiddler-title="<$view field=title/>"] .tc-fold-banner{
display:none;
}
</$tiddler>
any Ideas? Here’s my test to start with…
fullscreenNOTworking.json (1.1 KB)