Skip to content
Snippets Groups Projects
Commit 55c7d2d5 authored by Christophe Matthieu's avatar Christophe Matthieu
Browse files

[FIX] web_editor: don't convert style into class by default. Only if use...

[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)
parent 82e60a96
No related branches found
No related tags found
No related merge requests found
......@@ -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 () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment