[whatwg] What exactly is contentEditable for?
Ian Hickson
ian at hixie.ch
Tue Aug 23 20:20:48 PDT 2005
On Tue, 23 Aug 2005, Dimitri Glazkov wrote:
> >
> > True. But it is what IE does. Our hands are pretty much tied on this.
>
> Why? I think contentEditable concept is very much salvageable. It just
> needs some hook back into the forms to connect it to a POST request.
> Adding semantics is easier than changing them.
>
> Granted, my previous attempt to route it back into the textarea is
> probably not going to work. Maybe a form input type, like hidden, and
> some way to specify that its source is the modified html of an element?
You mean like:
<form onsubmit="d.value = firstChild.innerHTML" ...
><div contentEditable> ... </div>
<input name="d" type="hidden">
<input type="submit" ...>
</form>
...?
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list