hakimel/reveal.js — pull request #5 by matthewlein (2011-12-21 20:14:28+00:00)
Title: contenteditable and arrow keys

I was putting together a little ditty and I used a contenteditable code block. The plan was to edit code on the fly, but when I hit the arrow key it changed slides (arg!)

So I put in a quick check for contenteditable. if it is inherit, do the transition, otherwise its editable and don't do it.

Works in Chrome and FF8.