Hi Josiah,

that specific behaviour is governed by the|handleSaveTiddlerEvent|method of the navigator widget which you can see in [1]. To change that, you can either edit the code over there (which you might not wanna do), or add an action widget to|$:/core/ui/Buttons/save|which keeps the|draft.of|and|draft.title|field of the draft in sync, before invoking the save routine (see [2]). Obviously you can also get arbitrarily fancy with the UI, like adding a checkbox that steers that behaviour, but it sounds like a simple change like that would do the trick for you.

/Andreas

[1]https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/navigator.js#L354-L357

[2] adding|<$action-sendmessage $message="tm-add-field" $name="draft.of" $value={{!!draft.title}}/>|to|$:/core/ui/Buttons/save|should be sufficient.



Am 30.05.2016 um 09:28 schrieb Josiah:
As is, when you edit the TITLE of a tiddler and save it it overwrites the previous version.

How difficult would it be change that behavior so that /when you change the title of an existing tiddler it offers the OPTION to SAVE it as a NEW tiddler?/

My use case: I have hundreds of small tiddlers that are similar I constantly create variant versions of. Right now I have to remember to clone. As is, I keep inadvertently overwriting Tiddlers I want to keep.

Best wishes
Josiah
--
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 <mailto:tiddlywiki+unsubscr...@googlegroups.com>. To post to this group, send email to tiddlywiki@googlegroups.com <mailto:tiddlywiki@googlegroups.com>.
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/0004d98d-1dd2-48a0-8d80-2e81d876f19e%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/0004d98d-1dd2-48a0-8d80-2e81d876f19e%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/35e2caad-d7c2-841f-e29e-98247b9b65f8%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to