jsconfeu-googleplus jsconfeu-heart jsconfeu-logomarkjsconfeu-map-marker jsconfeu-smilie jsconfeu-twitter jsconfeu-youtube
site url:http://2015.jsconf.eu
page url:/speakers/marijn-haverbeke-salvaging-contenteditable-building-a-robust-wysiwym-editor.html
page id:/speakers/marijn-haverbeke-salvaging-contenteditable-building-a-robust-wysiwym-editor
page date:2015-08-11 00:00:00 +0000
node url:
twitter name: jsconfeu
page pattern:

Marijn Haverbeke:
Salvaging contentEditable: Building a Robust WYSIWYM Editor

Web-based WYSIWYG editors are notorious for spitting out a distasteful HTML soup. In this talk I’ll show how I implemented an editor that, instead of trying to filter and clean this soup, takes control away from the browser’s contentEditable implementation, and reinterpret user actions as operations on our own semantic document model (i.e. not HTML). The result is a WYSIWYM (what you see is what you mean) editor, more predictable than classic WYSIWYG, and just as user friendly.