Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-17 Thread TW Tones
Si, Good, I hoped it would be helpful. Tones On Tuesday, 18 May 2021 at 02:54:28 UTC+10 si wrote: > Hi Tones > > >>> If you place hide in a tiddler named > $:/config/EditTemplateFields/Visibility/fieldname it will not appear as a > row in the edit fields. > > I was going to look up how to

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-17 Thread si
Hi Tones >>> If you place hide in a tiddler named $:/config/EditTemplateFields/Visibility/fieldname it will not appear as a row in the edit fields. I was going to look up how to do this but you got there ahead of me - thanks! >>> Attached is a macro I am quite proud off, it allows the

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-16 Thread TW Tones
Si, Just to back this up it is possible, there may be some issues saving on node (untested). However All you have to do is hide the additional text field and not edit it in the Edit View fields. If you place hide in a tiddler named $:/config/EditTemplateFields/Visibility/fieldname it will

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-16 Thread si
Thanks a lot Mario and Saq, that's exactly what I needed to know. I don't intent to edit any of these fields, so I should be OK, but I'll have a think about whether it will be more sensible to use JSON. Thanks again. On Sunday, 16 May 2021 at 15:12:19 UTC+1 PMario wrote: > On Sunday, May 16,

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-16 Thread Saq Imtiaz
As @pmario states, you will need a custom editing UI for multiline fields. Also worth noting is that on node.js, tiddlers with multiline fields are saved as JSON and not in the .tid format. On Sunday, May 16, 2021 at 4:12:19 PM UTC+2 PMario wrote: > On Sunday, May 16, 2021 at 2:07:17 PM UTC+2

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-16 Thread PMario
On Sunday, May 16, 2021 at 2:07:17 PM UTC+2 si wrote: > My question is more about whether this matters when copying content from > the text of a tiddler into a different field. > The HTML spec says this: https://html.spec.whatwg.org/#attributes ... There is no restriction on the text, that

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-16 Thread si
@JWHoneycutt Although it behaves the same as other fields within TiddlyWiki, it does seem the the contents of the "text" field is *stored *differently to other fields (see my previous post). My question is more about whether this matters when copying content from the text of a tiddler into a

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-15 Thread 'JWHoneycutt' via TiddlyWiki
"Does the "text" field store data differently to other fields?" I am not an expert, but think I know the answer to your question, and would love to be corrected. Text fields are handled the "same" as any other field. That said, the tiddlywiki core or your overriding viewtemplate tiddlers can

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-15 Thread si
Sorry to bump this but I did a little test and looked at the source to see how the data was stored. I create a tiddler like this: [image: tiddler.png] Then I used action-setfield to move the text to a field called "test". When I looked at the source I saw this: [image: source-div.png] So it

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-14 Thread si
Yep this is what I had initially decided, however I have a slightly idiosyncratic use case which means that it will be easier for me to use fields. Hence why I just wanted to know if I will potentially lose any data by going down this route. On Friday, 14 May 2021 at 20:10:00 UTC+1 Mohammad

Re: [tw5] Does the "text" field store data differently to other fields?

2021-05-14 Thread Mohammad Rahmani
I would recommend using a JSON tiddler! If you store text of tidA then you can have tidA-History to keep these! Best wishes Mohammad On Fri, May 14, 2021 at 11:34 PM si wrote: > I've create a button that will move the contents of the "text" field of > one tiddler into a different field