W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] Web Apps 1.0: Editing

From: Ben Meadowcroft <ben@benmeadowcroft.com>
Date: Mon, 9 May 2005 17:00:12 +0100
Message-ID: <000a01c554b0$336dfa70$0202a8c0@BensPC>
> On Sun, 8 May 2005, Ben Meadowcroft wrote:
> > 
> > Perhaps have two subsections, one for full document editing 
> > (designMode) and the other for element content editing 
> > (contentEditable).
> 
> Is there any difference between
> 
>    <body designMode="">
> 
> ...and
> 
>    <body contentEditable="">
> 
> ...?

Well setting designMode on the body won't work, it is set on the document
object using script, document.designMode="on". Actually I guess this
should added to one of the Document interfaces described in the spec.

Other than that I'm not sure what the differences between them are, I
imagine that setting <body contentEditable=""> is pretty similar to
turning on designMode, perhaps someone else can shed some light on this?

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3034 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050509/60063154/attachment.bin>
Received on Monday, 9 May 2005 09:00:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC