@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 different field. I realize now that I have made the title of this thread is too general, so at some point I will probably make another post that gets more to the point. On Sunday, 16 May 2021 at 00:35:53 UTC+1 JWHoneycutt wrote: > "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 change the > display behavior. > I would use this to find these tiddlers: > > <$list filter="[tag[$:/tags/ViewTemplate]]" > > > </$list> > > JWHoneycutt > On Saturday, May 15, 2021 at 11:11:39 AM UTC-4 si wrote: > >> 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 looks to my non-technical eyes that "text" is stored in the <pre> >> element, and other fields within the <div> tag. However it also seems >> that all the information was retained. >> >> Can anyone with knowledge of TiddlyWiki internals confirm that this safe >> to do, or are there instances where I could lose data? >> On Friday, 14 May 2021 at 20:26:51 UTC+1 si wrote: >> >>> 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 wrote: >>> >>>> 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 <matthew...@gmail.com> wrote: >>>> >>>>> I've create a button that will move the contents of the "text" field >>>>> of one tiddler into a different field ("text-history") of another tiddler. >>>>> >>>>> I anticipate in the future doing this with text fields that contain a >>>>> lot of content, including new lines, html tables, macro definitions etc. >>>>> Since fields appear on only one line I'm wondering if any formatting >>>>> information could be lost during this process? >>>>> >>>>> I've done a test that involves new lines, and it seems that this data >>>>> is retained, but I'm just wondering if there is something that I might >>>>> not >>>>> be anticipating, or will I always be able to transfer text back and forth >>>>> without losing anything? >>>>> >>>>> -- >>>>> 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+...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/tiddlywiki/96c27860-b58b-4bb6-a828-730880ed5cc6n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/tiddlywiki/96c27860-b58b-4bb6-a828-730880ed5cc6n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f0148502-0af5-43c8-88b2-4bd3ba013f61n%40googlegroups.com.