[whatwg] What exactly is contentEditable for?

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 23 August 2005 20:20:48 UTC