In single file TW, the following will create a multiline field that saves 
properly.
<$edit-text tag="textarea" tiddler="testing" field="myfield"/>

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.

Also recall that:

This is
another line
and another one

if entered in the text field of a tiddler will display as all one line.

While
This is

another line

and another one

Will display as 3 lines.

Hope this helps,
Saq

PS: To get linebreaks to always display when viewing a field, use the 
following CSS:
white-space: pre-wrap;
Note that this is inconsistent with default TW handling where to \n are 
needed to get a linebreak.

-- 
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/c8f7c9d8-89cf-42ce-8d50-ae5675fc8200o%40googlegroups.com.

Reply via email to