[IMP] add img-responsive to images generated via dialog
avoids having the image end up larger than its container bzr revid: xmo@openerp.com-20131119131113-9010p4tubk1yz10s
This commit is contained in:
@@ -1195,6 +1195,7 @@
|
||||
if (!(element = this.element)) {
|
||||
element = editor.document.createElement('img');
|
||||
element.addClass('img');
|
||||
element.addClass('img-responsive');
|
||||
// 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 =>
|
||||
|
||||
Reference in New Issue
Block a user