[FIX] web_editor: don't convert style into class by default. Only if use style-inline (because very poor performance for sale.order form view because contains very crappy dom in website_description field)

This commit is contained in:
Christophe Matthieu
2016-02-08 12:20:10 +01:00
parent 82e60a9648
commit 55c7d2d5b0
+3 -1
View File
@@ -90,7 +90,9 @@ var FieldTextHtmlSimple = widget.extend({
setTimeout(reset, 0);
this.$content = this.$('.note-editable:first');
transcoder.style_to_class(this.$content);
if (this.options['style-inline']) {
transcoder.style_to_class(this.$content);
}
}
$(".oe-view-manager-content").on("scroll", function () {