Since you're importing, I'm guessing you're using node.js ?? Instead of importing the actual tiddler, could you import the draft tiddler?
Mark On Friday, September 15, 2017 at 1:39:43 AM UTC-7, peuhpeuh singe wrote: > > Hello twexpert, > > Short version : How can I define a keybind to save a tiddler from the > edit mode without exiting the edit mode ? > > Longer version: (not sure it is relevant but who know....) > > * Background: > > I am currenlty using tiddlywiki to write small pieces of scripts that are > sourced by my programming env directly from the html files. > > For example in R in write a small function: > tw.source(nameOfTiddler,pathToTiddlyWikiFile) that simply imports the code > written in the given tiddler into my R env. > > * Question: > > One practical problem I have is that I need to save the tiddler to move > the modification from the draft version of the tiddler to the actual > tiddler (which is a good thing). But the only way I found to do it quickly > is to <Ctr-Enter> to save and exit the tiddler but I then have to reopen it > to edit other changes, which is really inconvenient when I make a > incremental code modification... I would like to be able to save a tiddler > from the edit mode with exiting the edit mode using a simple keybind but > not know how to do it. > > Thks all for doing this incredible tool, that I use increasingly ! > -- 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/869a7ab0-52a3-4594-aee2-fd1674b8d370%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

