Hi Tony You might be interested in the (itermediate) result of my latest hack ;–)
See: https://tid.li/tw5/hacks.html#Save%20and%20close%20Button%20Plugin All comments I have are there. Sorry, I am in a hurry. Good luck! Thomas Am Dienstag, 5. September 2017 09:44:46 UTC+2 schrieb TonyM: > > Post Script, > > I would also like to toggle On/Off the Dialogue that asks "Do you wish to > discard changes to the tiddler " > > After all I will only loose the changes to this tiddler > > Regards > Tony > > On Tuesday, September 5, 2017 at 5:36:17 PM UTC+10, TonyM wrote: >> >> Folks, >> >> Here is my steps to answering my own question. On the Cancel Close >> Button, see below for the last piece of the Puzzle I do not have. >> >> >> - Clone $:/core/ui/Buttons/cancel >> - Rename to $:/core/ui/Buttons/cancelclose >> - Clone $:/language/Buttons/Cancel/Hint to >> $:/language/Buttons/CancelClose/Hint >> - change content to "Discard and close this tiddler" >> - Clone $:/language/Buttons/Cancel/Caption to >> $:/language/Buttons/CancelClose/Caption >> - change content to "cancel/close" >> - Edit $:/core/ui/Buttons/cancelclose >> - Rename the Cancel/hint and Cancel/Caption to CancelClose/hint >> and CancelClose/Caption respectively >> - Place {{$:/core/images/close-button}} after 1st >> {{$:/core/images/cancel-button}} >> - Looks OK especially when using ControlPanel > Settings > >> Toolbar Button Style > Boxed but you could replace with another >> button Icon >> - add <$action-sendmessage $message="tm-close-tiddler"/> before >> last </$list> >> >> This "Works" on the Draft Of Tiddler name but the original tiddler >> remains open, how do I also Close the Original tiddler? >> >> >> I can publish this as a plugin (with better Icons) once working, and if >> not already available but It would be a nice option in the "Core" with >> little effort. >> >> >> Thanks in advance >> >> Tony >> >> >> >> >> >> >> -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c225f118-1e1f-4bdc-bf11-863b5b467aa1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

