derickbailey/backbone.modelbinding — Issue #72: HTML5 contenteditable doesn't work
Author: g00fy-
Created: 2012-02-26 16:06:41+00:00
State: open

HTML5 changing values of elements that have contenteditable=true attribute (div,span etc) doesn't affect the model (maybe becouse they don't trigger onchange event?).

example:
instead of

IMHO workaround should be:
add onfocus event -> add onkeypress event or onblend -> this is equivalent of onchange & works with divs etc.

example:
http://jsfiddle.net/Cpn3g/147/