Hi! I deleted my previous reply to correct some things:

You can clone these tiddlers (they are tagged *$:/tags/EditToolbar* or 
*$:/tags/ViewToolbar*) and inject the hide-sidebar-action right before the 
closing *</$button>* tag

*add show sidebar action*:
$:/core/ui/Buttons/cancel
$:/core/ui/Buttons/delete
$:/core/ui/Buttons/save

*add hide sidebar action*:
$:/core/ui/Buttons/edit
$:/core/ui/Buttons/clone
$:/core/ui/Buttons/new-here
$:/core/ui/Buttons/new-here
$:/core/ui/Buttons/new-journal

Then create these, with all of them having text: *hide *(so no core button 
gets overwritten):

$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit
$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone
$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here
$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here
$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal

$:/config/EditToolbarButtons/$:/core/ui/Buttons/cancel
$:/config/EditToolbarButtons/$:/core/ui/Buttons/delete
$:/config/EditToolbarButtons/$:/core/ui/Buttons/save

Then all of the above buttons you can package as you wish! 

In effect it's like you've replaced the core buttons with your own. I might 
go this direction with FS plugin but I'm not sure.. I don't want to 
interfere much with the Toolbar buttons hehe and I'm looking for a 
different experience (single-tiddler editting without using zoomin view and 
with sticky editor toolbar and general cleaner interface)

- jd


On Monday, August 3, 2020 at 12:45:58 AM UTC+9, amreus wrote:
>
> With recent discussions about editing full-screen, would it be a simple 
> solution to modify the "Edit this tiddler" button trigger the "Hide 
> sidebar" button, and then toggle back the sidebar on either save tiddler or 
> discard buttons?
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/97a74929-49c6-4993-9abe-129f0c0b9d69o%40googlegroups.com.

Reply via email to