On Thursday, June 11, 2020 at 12:18:48 AM UTC-7, Saq Imtiaz wrote:
>
> I haven't looked at your code, but the following is all that's needed to
> have a text area to edit a field:
> <$edit-text tiddler=temp field=xyz tag=textarea/>
>
In addition to the tag="textarea" parameter, I recommend specifying
minHeight="1em" and autoHeight="yes"...
and, to make the text area fit the full width of the tiddler editor,
include a CSS class (e.g., "width100"), defined as ".width100 { width:100%;
}"
For example, if you want to add a multi-line "description" field to the
tiddler editor, simply create a tiddler tagged with $:/tags/EditTemplate,
containing:
<$edit-text field="description" tag="textarea" minHeight="1em"
autoHeight="yes" class="width100" default="" placeholder="enter a
description for this tiddler" />
-e
--
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/16667aa3-9ea5-4f59-aff4-18a80fee02f1o%40googlegroups.com.