[tw] Re: Autogrow textarea
In line with what I assume is an intentionally minimalistic interface, I would agree with the above. /Mat On Jan 12, 9:33 am, Alex Hough r.a.ho...@googlemail.com wrote: TwHeroWarriors The Autogrow textarea feature here is something i think could be good on a TWhttp://www.appelsiini.net/projects/jeditable/custom.html Alex (getting excited about the jQueryTW) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Autogrow textarea
The Autogrow textarea feature here is something i think could be good on a TWhttp://www.appelsiini.net/projects/jeditable/custom.html http://www.TiddlyTools.com/#TextAreaPlugin adds several usability features to the tiddler body textarea control displayed in edit mode. You can add a 'grab bar' to the bottom of the text area so you can manually stretch/shrink the height of the field by including the following in your EditTemplate: span macro=resizeEditor/span and, to automatically adjust the height of the text area so that it will fit all lines of text without using a scrollbar, add autosizeEditor to the space-separated list of commands in the [[ToolbarCommands::EditToolbar]] slice value or, if using an older, customized EditTemplate, add the toolbar command to the macro invoked directly in the template: div class='toolbar' macro='toolbar ... autosizeEditor' Note: if you are not using a custom EditTemplate, you don't need to make any manual changes to the template, because TextAreaPlugin automatically tweaks the standard default (shadow) EditTemplate to add the above macro and toolbar definitions automatically. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Autogrow textarea
Hi Eric, I'll give that a try, thanks. I found the page [1] while surfing around jQuery over the weekend in anticipation of jQuery coming into TW. Adding functionality using classes and ids to enable a plugin to work on a particular div is easy for me to understand. If you could edit tiddler titles and tags in without having to open the whole edit template by adding a class to their divs it would make tiddler editing neater. The autoGrow at the moment saves to a php server (out of my knowledge) but I thought it could save to TWs story? Alex [1] http://www.appelsiini.net/projects/jeditable/custom.html 2009/1/12 Eric Shulman elsdes...@gmail.com: The Autogrow textarea feature here is something i think could be good on a TWhttp://www.appelsiini.net/projects/jeditable/custom.html http://www.TiddlyTools.com/#TextAreaPlugin adds several usability features to the tiddler body textarea control displayed in edit mode. You can add a 'grab bar' to the bottom of the text area so you can manually stretch/shrink the height of the field by including the following in your EditTemplate: span macro=resizeEditor/span and, to automatically adjust the height of the text area so that it will fit all lines of text without using a scrollbar, add autosizeEditor to the space-separated list of commands in the [[ToolbarCommands::EditToolbar]] slice value or, if using an older, customized EditTemplate, add the toolbar command to the macro invoked directly in the template: div class='toolbar' macro='toolbar ... autosizeEditor' Note: if you are not using a custom EditTemplate, you don't need to make any manual changes to the template, because TextAreaPlugin automatically tweaks the standard default (shadow) EditTemplate to add the above macro and toolbar definitions automatically. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios -- t: 0161 442 2202 m: 0781 372 50 17 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---