I'm trying to get an event to fire whenever a contenteditable div is changed using keyup. Unfortunately it's also catching things like moving the caret with the arrow keys. I only want it to spot actual changes though.
I read this question, which seems similar, but the solution on there doesn't work for things like linebreaks. Ideas?