]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn
Merge remote branch 'remotes/smcv/ready/htmlbalance'
[ikiwiki.git] / doc / todo / edit_form:_no_fixed_size_for_textarea.mdwn
index 0c45f0c9059f7185a131297116000aef5eea6418..77e46049fae7ce0a412411f7893f2030dc77ddb5 100644 (file)
@@ -38,3 +38,15 @@ have a small resize handle in a corner, that can be dragged around. No
 nasty javascript needed. IMHO, this is the right solution, and I hope other
 browsers emulate it. [[done]]
 --[[Joey]]
+
+Wouldn't it be possible to just implement an integer-valued setting for this, accessible via the "Setup" wiki page? This would require a wiki regen, but such a setting would not be changed frequently I suppose. Also, Mediawiki has this implemented as a per-user setting (two settings, actually, -- number of rows and columns of the edit area); such a per-user setting would be the best possible implementation, but I'm not sure if ikiwiki already supports per-user settings. Please consider implementing this as the current 20 rows is a great PITA for any non-trivial page.
+
+> I don't think it would need a wiki rebuild, as the textarea is generated dynamically by the CGI when you perform a CGI action, and (as far as I know) is not cooked into any static content. -- [[Jon]]
+
+>> There is no need for a configuration setting for this -- to change
+>> the default height from 20 rows to something else, you can just put
+>> something like this in your `local.css`: --[[Joey]] 
+
+       #editcontent {
+               height: 50em;
+       }