On Thursday, July 16, 2020 at 11:57:45 PM UTC-7, Saq Imtiaz wrote:
>
>
> Note that the resulting field can look like all linebreaks are stripped
> due to how its rendered. Especially if viewing the field in the info
> section of the tiddler, as it is rendered in a table cell instead of a
> paragraph.
>
> Use something like {{testing!!myfield}} instead to confirm linebreaks are
> properly saved.
>
>
>
Well, that's a relief!
But on node, the generated tiddler file (prerelease 5.1.23) is not being
saved as JSON.
On node, create a test tiddler like:
<$button>Do transfer
<$list filter="[[That Tiddler]]" >
<$action-setfield saveme={{!!text}} />
</$list>
</$button>
{{That Tiddler!!text}}
Create a tiddler "That Tiddler" and populate it with multiple lines.
When you run the button on node, the output will be a tid file (see
attached screen shot).
Interestingly, if I do the test on stand-alone TW, and then drag the
resulting tiddler to TW, the generated file will be a JSON.
This suggests that if you start with a tid file on node.js, and then modify
it, it doesn't know to change to a JSON.
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/3cc0c933-14a8-4df7-b975-0d2e484bbdd3o%40googlegroups.com.