How do I get the save button in the editor toolbar?

I copied $:/core/ui/Buttons/save, and changed the tags of the new tiddler to $:/tags/EditorToolbar. I also checked this button in EditorToolbar Visibility.

But this button did not actually appear. Why is this? Or is it because some styles are hiding it?

1 Like

I don’t know if this is the “official” way to do it. I cloned one of the menubar tiddlers and over-rode the caption field with the wiki save button transclusion.

Be sure to have a backup before trying this.

Save-wiki-button-in-menubar.json (245 Bytes)

Thank you very much for your kind reply.

But I am not trying to save tiddlywiki as html file. I am trying to save the currently edited tiddler by putting the save button in the edit field so I don’t have to slide to the top to click the save button.

You might be interested in this plugin that gives you multiple save options while editing.

thanks again.

I want a button to save the current tiddler in the EditorToolbar
as the image. But still haven’t found a way to do it yet.

This should put a tiddler-save button in the editor toolbar. However, it is a different size than the other buttons. The next step would be to track down the classes used for the other buttons and apply them accordingly.

Be sure to make a back-up before trying.

Save-tiddler-button-in-menubar.json (1.5 KB)

1 Like

Thank you very much for your kind help. There are still a few small style problems looking at it, but I’m happy with it.

Could I package this button into my plugin?