[FIX] Webkit created spurious spans with inline style when joining lines
authorXavier Morel <xmo@openerp.com>
Wed, 26 Feb 2014 15:20:04 +0000 (16:20 +0100)
committerXavier Morel <xmo@openerp.com>
Wed, 26 Feb 2014 15:20:04 +0000 (16:20 +0100)
commit30a99471e2456360d8b637ea7c051bfb72e60372
tree6f13455c2e72d17f1d365d2aada1e60c470951b9
parent3279c76c6258b1fb1cdb1261f3f7eb51aed30662
[FIX] Webkit created spurious spans with inline style when joining lines

Post process to manually unwrap node if it only has purely looks-oriented CSS
properties set inline.

ref:
https://code.google.com/p/chromium/issues/detail?id=226941
https://bugs.webkit.org/show_bug.cgi?id=114791
http://dev.ckeditor.com/ticket/9998
http://www.neotericdesign.com/blog/2013/3/working-around-chrome-s-contenteditable-span-bug

bzr revid: xmo@openerp.com-20140226152004-9ybbki1op80lpxin
addons/website/static/src/js/website.editor.js