[TW5] edit-text is eating my newlines

66 views
Skip to first unread message

myst...@gmail.com

unread,
Aug 14, 2017, 9:11:04 AM8/14/17
to TiddlyWiki

I have a form that has several text areas for input.
Everything was peachy when i was writing the contents to a data tiddler, but for reasons, i decided to move to a temp tiddler and store teh values in fields.

As soon as i enter newlines in the text box, if i check the temp tiddler, the newlines are gone.

<$edit-text tiddler="scratch_temp" field="field1" tag="textarea"/>


Is there a way to get my expected behavior? or should i admit defeat and move back to a data tiddler?

Message has been deleted

Jed Carty

unread,
Aug 16, 2017, 8:09:36 AM8/16/17
to TiddlyWiki
This is the normal behaviour, only the text field allows newlines. To allow new lines you need to either use the text field of tiddlers or in data tiddlers.
Reply all
Reply to author
Forward
0 new messages