[whatwg] What exactly is contentEditable for?

Matthew Raymond mattraymond at earthlink.net
Wed Aug 24 02:53:34 PDT 2005


Anne van Kesteren wrote:
> Dimitri Glazkov wrote:
>>I was thinking more along of the lines of this:
>>
>><div contentEditable id="mainPageContent"> ... </div>
>><form>
>><input name="mainPageContentEdit" type="html" src="#mainPageContent" />
>></form>
> 
> Perhaps we should allow the 'form' attribute from Web Forms 2 on all 
> elements that have the 'contenteditable' attribute set.
> 
> That would neatly solve the problem.

   No, because you'd still be missing the |name| of the control. The
|id| is not the same thing as a control name. Also not that you loose
stuff like disable, readonly, and a host of new WF2 stuff as well...



More information about the whatwg mailing list