yammer/Editable-Content — Issue #1: basic demo fails in Firefox
Author: afeld
Created: 2012-01-06 19:06:29+00:00
State: open

To reproduce:

1. Open demo/basic.html in Firefox 8 or 9 (those are the only versions I tried)
2. Click anywhere in the sentence
3. Start typing

Everything to the beginning of the contenteditable area gets deleted, and you're left in a strange state where characters are replacing one another. I narrowed it down to [this call](https://github.com/yammer/Editable-Content/blob/bbe245b454c61eb93905c6a05d657eeedaf9a70d/demo/basic.html#L46) of `e.caretPos()` (commenting out the line fixes the demo), but it wasn't clear to me why that was the case.

I was excited to find this library - was finding normalizing contenteditable across browsers to be a nightmare. @Jux are big Yammer users, btw :-)