Hi Ton Is there something similar for the Sidebar (double chevron) button? >
In 5.0.16 I plan to bring the same customisability to the topbar as we have for the sidebar buttons. > Usecase: my (TW5.0.13) read-only plugin [1] that does not work properly in > TW5.0.14. > > In $:/plugins/tongerner/ro/publish I can toggle the visibility of the > Sidebar button on/off (CSS-wise), which works. But when I switch to > read-only mode (CSS-wise like the ReadOnly theme), the left double chevron > becomes visible again! > If I can hide the Sidebar button with some 'visibility' tiddler .... > I'm not sure why you can't hide the sidebar chevrons with CSS. Is it just that the CSS classes are different for the left and right chevrons? Best wishes Jeremy > > Cheers, > > Ton > > [1] http://tw5readonly.tiddlyspot.com/ > > > On Monday, August 18, 2014 12:20:35 PM UTC+2, Ton Gerner wrote: >> >> Hi Jeremy, >> >>> >>> The visibility tiddlers must contain the text "hide" to suppress the >>> associated button. If the visibility tiddler is missing then it's value >>> defaults to "show". >>> >>> So, in the case of the PageControls and ViewToolbar buttons there are >>> several buttons that are hidden by default, hence the visibility tiddlers. >>> In the case of the EditToolbar, all three of the available buttons are >>> visible, and so no visibility tiddlers are required. >>> >>> Thanks for explaining. >> I expected shadow visibility tiddlers for the EditToolbar as well (to >> define the 'show' state at start-up). I understand now these visibility >> tiddlers for the EditToolbar are just state tiddlers created 'on demand'. >> >> Cheers, >> >> Ton >> > -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

