[pmwiki-users] Automatically Change Focus to Textarea When Editing
5ko at 5ko.fr
Wed Feb 6 17:42:19 CST 2008
On Thursday 07 February 2008, Hans wrote:
> Why is (:input e_textarea focus=1:) not in the default EditForm?
It shouldn't be unless there is a demonstrated necessity for it to be, for
many users. And here, there may be some inconveniences:
1. Browsers do not act the same way if the focussed textarea contains more
text and scrollbars appear. Some browsers place the cursor at the beginning,
others at the end, others scroll down and only the last 20 lines of the
edited text are immediately visible.
2. Some pmwikis have their previews before the edit form, like in MediaWiki.
If a form element is autofocussed, the whole page will scroll down to the
form thus hiding the preview.
More information about the pmwiki-users