[whatwg] behavior when typing in contentEditable elements

Robert O'Callahan robert at ocallahan.org
Mon Dec 21 14:15:59 PST 2009


On Tue, Dec 22, 2009 at 7:21 AM, Ojan Vafai <ojan at chromium.org> wrote:

> Dealing with inconsistencies in browser behavior during typing is one of
> the hardest parts of writing a sane web-based rich-text editor. We have
> researched what a variety of text editors (Word, Powerpoint, Wordpad,
> TextEdit) and browsers using contentEditable/DesignMode currently do when
> you press different keys on the keyboard, in a number of rich text
> situations, with a variety of text selections. From this data, we attempt to
> identify recommendations that are OS-agnostic for editing behaviors inside a
> contentEditable element.
>

Interesting data, thanks! But is OS-agnostic behaviour actually the ideal?
Obviously it makes writing a sane Web editor easier, but wouldn't users be
best served by behaviour that matches their platform?

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091222/064d0911/attachment.htm>


More information about the whatwg mailing list