[whatwg] Textarea Wishlist

James Graham wrote:

> James Graham wrote:
> 
>> I was having thoughts about a somewhat similar feature - the ability to
>> specify a input 'language' for a text-area
 >
> Thinking a little more, I think that the first partt of this idea alone (i.e.
> an attribute to specify the data type expected in a text area) would be
> useful enough to implement alone. This would allow browsers to implement
> syntax highlighting, check for XML well-formedness and provide access to
> helper applications relevant to the data type.
> 
> So something that would roughly work: Add an optional dataformat (better 
> name?) attribute that takes a URI. ... The behavior of the UA in response to
> the presence of the attribute is not specified.

I like this idea. I think even having a helper application for text/plain
would be useful. Click a button somewhere and the browser opens up the
file in your favorite editor. Make your edits. Hit Save, and the new text
appears in the textarea.

~fantasai

-- 
http://fantasai.inkedblade.net/contact

Received on Thursday, 8 July 2004 10:49:17 UTC