Firefox/Feature Brainstorming:Form handling and text areas
External editing of text boxes
- Allow an external editor (vim, emacs, textpad, etc) to edit text in form text boxes
- Currently supported by plug-ins, but only on some platforms; should be available everywhere
- As more and more apps move towards web services, the ability to effectively edit large blocks of text (wikis, blogs, forums, webmail) becomes more and more critical.
- Include ability to save/restore the text box contents.
- Provide a key binding and also bind to right-click/Edit in text areas.
- References
Search and replace for editable areas
- Search and replace for textareas and editable iframes
Full featured editing of text areas
Much writing nowadays is done in text areas: wikis, blogs, forums, webmail. Text areas need full featured editing support:
- Unlimited undo/redo.
- Regular expression search and replace.
Spell checking.Thanks!- Improve spell checking by switching from MySpell to the far-superior HunSpell (this is a direct descendant of MySpell and is the spell checking system now used by new versions of Open Office). There's a list of all the improvements in bug 319778. This may also allow us to ship some dictionaries other than En-US in our localized builds (e.g. Hungarian).
- Grammar checking functionality similar to Spell checking (Grammar mistakes is just as prolific an bad spelling)
- The ability of checking multiple languages in a textarea simultaneously.
- Configurable shortcuts and macros.
- Allow easy saving of text area contents on the local machine.
- Automatic safety saves, so that the contents of a text area are never lost.
- Allow resizing of text areas, and splitting into two views.
- See also
- Life in a TEXTAREA by Adam Rifkin
WYSIWYG Text Area
Enhanced the TEXTAREA tag to provide a WYSIWYG editor that generates HTML code. How many different Javascript, ActiveX, Applet and AJAX solutions exist for this problem? How many of them actually work? None. Let's fix this problem once and do it right. Imagine:
<TEXTAREA NAME="foo" TYPE="wysiwyg">
The user would see a text box with WYSIWYG editing controls. When the form submits, the field would contain HTML code for the user's content. Other browsers would ignore the new flag and display a standard TEXTAREA.
EVERYONE needs this, including this Wiki.
- However we would be breaking the standards, wouldn't we? And i think we shouldn't be trying to do W3C's job.
Editable dropdowns
- Enhanced SELECT tag to allow the user to type new values into the dropdown or accept one of the provided options. Examples in abound in real applications but in a form, the only solution is to provide an input box and a comment like "select a value or enter a new one".
- Enhance the SELECT more by allowing HTML in an OPTION. Will allow for images, bold/italic text and much more in an option. (Restriction necessary as e.g. a SELECT in an OPTION doesn't make sense).
Use mouse wheel to modify the values
When I'm hovering textarea with number/date and scroll my mouse up/down it should increase/decrease the value.
Automatically restore form with text values filled in if submit fails
After filling in a long email, blog entry etc. and submitting the form, if the subsequent page fails to load (eg because the internet connection was lost when you were typing, or because of a temporary problem with page), instead of just showing an error message firefox should give the user the option to either:
- attempt to submit the data again
or
- return to the previous page with all form items filled in (loaded from offline cache in case internet connection is still down)
or
- provide a separate page or a tab in Page info where the contents of forms that are sent last are shown.
Autofill forms
- Like Opera's Wand or Google's Autofill in the Google Toolbar.
- Have an option to fill in your name, address and other information necessary for many websites into Firefox so that when filling out forms you can click a button that 'autofills' them for you.
Like Internet Explorer - it is best way.
User-created spell check blacklist
- Allow users to specify sites that should not have their text areas spell checked (i.e. sites with HTML editing text areas)