[whatwg] Proposal: Undeletable elements within contentEditable

> Date: Thu, 24 Jun 2010 20:08:50 +0400
> From: Nikita Vasilyev <me at elv1s.ru>

> The current version of spec http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#contenteditable
> does not define any way to make an element within contentEditable
> undeletable. I propose "undeletable" attribute:

It seems like the ideal way to handle this would be to handle the
MutationEvent (and cancel it, but unfortunately they are
non-cancelable. Perhaps a set of cancelable events, i.e.
UserMutationEvent.

( see http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mutationevents
)

Received on Thursday, 24 June 2010 13:48:25 UTC