Codepen to accompany my article at http://www.barneyparker.com/world-simplest-html5-wysisyg-inline-editor/