[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:
@@ -90,7 +90,9 @@ var FieldTextHtmlSimple = widget.extend({
|
|||||||
setTimeout(reset, 0);
|
setTimeout(reset, 0);
|
||||||
|
|
||||||
this.$content = this.$('.note-editable:first');
|
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 () {
|
$(".oe-view-manager-content").on("scroll", function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user