Thanks Thomas,

The save while editing is great. Can you tell me what classes my CSS needs 
to use to colour the buttons. I find using green, orange and red very 
helpful. 

eg; 


.tc-tiddler-controls button svg.tc-image-new-here-button { fill: #5eb987; }
I believe it should be possible to configure a keyboard shortcut to your save 
(and keep open) button. 

I think we would be in Utopia if we could save and restore the cursor position 
in the edit window.

I will look at your EditorCounter for its features.

However I already have improved my productivity.

Regards
Tony



On Sunday, September 17, 2017 at 2:26:39 AM UTC+10, Thomas Elmiger wrote:
>
> Hi all,
>
> Great idea! Sometimes other people have to remind me of what I have been 
> missing. You did it this time :–)
> I do not have a solution for you, but I have some hints: 
>
> I just added a new button to my plugin *EditButtons* that saves the 
> tiddler without closing it. In fact it saves and closes the tiddler, but 
> reopens it right after that in edit mode. 
> If you want to see this kind of primitive solution, you can look into the 
> button code in $:/core/ui/Buttons/save-open 
> <https://tid.li/tw5/plugins.html#%24%3A%2Fcore%2Fui%2FButtons%2Fsave-open> 
> on 
> https://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2FEditButtons 
>
> (I also tried to adapt the Navigator widget’s *tm-save-tiddler* message 
> in a new JS-widget. I wanted to create a new *tm-save-open-tiddler* 
> message, but failed.)
>
> I also found out where keyboard controls are defined: 
> $:/core/ui/EditTemplate so you would have to integrate the new command 
> there …
>
> @Tony as I am afraid of losing content too, I integrated an autosave 
> option in my EditorCounter plugin. It saves the (draft) tiddler after every 
> 200 characters entered/removed (you can change the number in the settings). 
> Works perfectly for me with TiddlyFox (saves to disk). Maybe you want to 
> try it out: https://tid.li/tw5/plugins.html 
>
> Stay safe!
> Thomas
>
>
> Am Samstag, 16. September 2017 02:09:50 UTC+2 schrieb TonyM:
>>
>> I would like this a lot as well.
>>
>> Ideally alt-s or ctrl-s like many other documents. even if it just saved 
>> to memory and not disk or server.
>>
>> I am currently doing a training course with my laptop, I am more worried 
>> about an accidental delete or back space inside a large tiddler of notes.
>>
>> Regards
>> 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/3a98648e-15b2-442f-a467-5e82a0c2c7bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to