Hi!

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

$:/core/ui/Buttons/cancel
$:/core/ui/Buttons/delete
$:/core/ui/Buttons/edit
$:/core/ui/Buttons/save

Then create these (so no core button gets overwritten):

$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/cancel      
(text: hide)
$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/delete      
 (text: hide)
$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/edit          
 (text: hide)
$:/config/EditToolbarButtons/Visibility/$:/core/ui/Buttons/save        
 (text: hide)

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 EditToolbar buttons hehe

- jd




On Monday, August 3, 2020 at 3:39:04 AM UTC+9, amreus wrote:
>
> So I have something that is working. The hardest part is finding the right 
> tiddlers and where they are located. 
>
> I've learned to create a button, create an icon, add the button to the 
> toolbar via tagging, set the text of a tiddler via an action. 
>
> If I can figure out how to make it restore the state instead of set it, 
> and how to make an actual plugin, then I can put it online somewhere if 
> anyone is interested.
>
>
>
> On Sunday, August 2, 2020 at 11:45:58 AM UTC-4, 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91cf4418-f1f7-4754-87a9-4cd22d7a232ao%40googlegroups.com.

Reply via email to