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

[whatwg] Editing

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 20 Apr 2005 15:21:10 +0200
Message-ID: <42665746.7020005@annevankesteren.nl>
Olav Junker Kj?r wrote:
> Anyways, editing could be broken up into these topics:
> - A way to mark an element as editable (the contentEditable attribute).

Besides your other points I think it would also be important to specify 
the content model the element can have and the possibility to restrict 
this content model.

For example, you could allow any element that is allowed as a child of 
the particular element that has contentEditable set, but there should be 
a way to exclude certain elements (and perhaps attributes) if you don't 
want those.

  <em contentEditable="true" exclude="a em strong span">

  Anne van Kesteren
Received on Wednesday, 20 April 2005 06:21:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC