diff --git a/addons/web_editor/static/src/js/backend.js b/addons/web_editor/static/src/js/backend.js index 7649d923f98..72bf61cbb7f 100644 --- a/addons/web_editor/static/src/js/backend.js +++ b/addons/web_editor/static/src/js/backend.js @@ -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 () {