Hi Tony, All editing happens in the browser.
I can see what happens inside of node.js. When node parses the tiddler, it perceives the line break as meaning the end of the "fields" section (top section) of the tiddler. It interprets everything else that remains as "text" -- including the title! Then, since it doesn't have a real title, it guesses at the title name. The upshot is that the entire tiddler is corrupted when re-loaded. In single-file TW, once you save and reload, the field is stripped of the line feeds. I kind of think that the only solution would be to encode the linefeeds with my own set of symbols. Thanks! On Thursday, July 16, 2020 at 5:13:39 PM UTC-7, TW Tones wrote: > > Mark, > > I have a method to do 1, I need to check if it avoids 2. > > However it works well on single file wikis. I will test it on top of a Bob > Instance and share back. > > Are you editing the tid file outside tiddlywiki? > > The main trick is to not use the default field editor. To do this you can > use an edit-text widget including in edit mode, and hide the fields > visibility in the stqandard field edit. > > I will share back soon if this is helpful? > > Regards > Tony > > > > On Friday, July 17, 2020 at 9:49:01 AM UTC+10, Mark S. wrote: >> >> I just discovered that attempting to store multiple lines into a field >> (other than the text field) will either >> >> 1. Lose the line feeds on standalone TW ... or .. >> 2. Corrupt the ".tid" file on node.js (becomes obvious when you restart >> node) >> >> Is there any special technique for saving multiple lines into a regular >> (not text) field ? >> >> Thanks! >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f1289d67-b9ca-478b-b579-f871c2c8e5e2o%40googlegroups.com.

