Re: [tw] Re: TW5 tip: Use fields for brief summaries of tiddlers
I have no idea what you just said or what you are wondering. On Thu, Nov 7, 2013 at 7:28 AM, Tobias Beer beertob...@gmail.com wrote: Thanks, Dave, that's a very useful tip. Makes me wonder though how hard it would be to dynamically and automagically turn a field input into a textarea, perhaps when one hits *ENTER*, i.e. set the number of displayed lines of such a textarea to the number of literal newline characters in it. Perhaps it could even always be a textarea, starting with 1 line? Tobias. -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/PYVrMeckvCI/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- David Gifford Christian Reformed World Missions, Mexico City -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: TW5 tip: Use fields for brief summaries of tiddlers
Makes me wonder though how hard it would be to dynamically and automagically turn a field input into a textarea, perhaps when one hits *ENTER*, i.e. set the number of displayed lines of such a textarea to the number of literal newline characters in it. Perhaps it could even always be a textarea, starting with 1 line? In the refactored branch you'll be able to say $edit-text field=myfield tag=textarea/ to force a text area instead of an input type=text/. In TW5 input text areas always resize the fit their text. Does that answer your question? Best wishes Jeremy Tobias. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: TW5 tip: Use fields for brief summaries of tiddlers
In the refactored branch you'll be able to say $edit-text field=myfield tag=textarea/ to force a text area instead of an input type=text/. In TW5 input text areas always resize the fit their text. Does that answer your question? Not sure, I was thinking more in terms of using / extending the default mechanism for adding / editing / removing fields so as to (somewhat adaptively) allow for multiline content in a custom field. Tobias. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: TW5 tip: Use fields for brief summaries of tiddlers
Not sure, I was thinking more in terms of using / extending the default mechanism for adding / editing / removing fields so as to (somewhat adaptively) allow for multiline content in a custom field. Right. There is already a mechanism for a tiddler field to specify the type attribute of the input element used to edit it. This is how the color field gets its special editor: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L725 I've just extended the mechanism to allow the element tag to be specified in the same way, which would allow a field module to stipulate that a text area be used by default for editing that field. I'll push the change shortly. Best wishes Jeremy. Tobias. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.