[whatwg] What exactly is contentEditable for?

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...

Received on Wednesday, 24 August 2005 02:53:34 UTC