diff --git a/addons/web_editor/static/src/js/snippets.options.js b/addons/web_editor/static/src/js/snippets.options.js index 3f933f4c191..357fa19c9ed 100644 --- a/addons/web_editor/static/src/js/snippets.options.js +++ b/addons/web_editor/static/src/js/snippets.options.js @@ -383,7 +383,7 @@ odoo.define('web_editor.snippets.options', function (require) { }, select_class : function (type, value, $li) { this.background(type, '', $li); - this._super(type, value, $li); + this._super(type, value ? (value + " oe_img_bg") : value, $li); }, choose_image: function (type, value, $li) { if(type !== "click") return;