Fiddling around with the contentEditable attribute. Tracking browser support & collecting browser misbehaviors
PHP JavaScript
Switch branches/tags
Nothing to show
Latest commit 2aa80aa Mar 25, 2011 Christopher Blum Added note concerning selecting multiple elements in contentEditable …
…in IE at once



This repo contains tests and demos for the contentEditable attribute introduced in the HTML5 spec.

Find the queryCommand browser compatibility table here:

Test editor:

Test drag&drop or copy&paste of external stuff here:


contentEditable attribute spec:

contentEdtable user interaction spec:

javascript api:

mozilla documentation:

strange behavior of contentEditable in ie:

the road to html5 contentEditable:

demo on quirksmode:

android bug tracker issue concerning support of contentEditable:

resources on why contentEditable doesn’t work on iOS:

tutorials on how to create a rich text editor cross browser

list of contentEditable misbehaviors in firefox 3.5 and how to workaround them

getting cursor position in contentEditable elements

list of webkit bugs with document.queryCommandState and document.queryCommandValue


  • Ingo Chao (ingochao)
  • Christopher Blum (tiff)