[ADD] apparently I'm supposed to add the img class to images

bzr revid: xmo@openerp.com-20131010072919-t1vc7l5t5c3wh9kt
This commit is contained in:
Xavier Morel 2013-10-10 09:29:19 +02:00
parent fc012b1c9c
commit eb2709ffc6
1 changed files with 1 additions and 0 deletions

View File

@ -799,6 +799,7 @@
var element, editor = this.editor;
if (!(element = this.element)) {
element = editor.document.createElement('img');
element.addClass('img');
// focus event handler interactions between bootstrap (modal)
// and ckeditor (RTE) lead to blowing the stack in Safari and
// Chrome (but not FF) when this is done synchronously =>