diff --git a/theme_clean/views/snippets_options.xml b/theme_clean/views/snippets_options.xml deleted file mode 100644 index 8c2d68f16..000000000 --- a/theme_clean/views/snippets_options.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - None - - - - - - - - - - - - - diff --git a/theme_common/static/src/js/compatibility_editor.js b/theme_common/static/src/js/compatibility_editor.js deleted file mode 100644 index 0a99a2e21..000000000 --- a/theme_common/static/src/js/compatibility_editor.js +++ /dev/null @@ -1,17 +0,0 @@ -/** @odoo-module **/ - -import sOptions from "@web_editor/js/editor/snippets.options"; - -sOptions.registry.BackgroundImage.include({ - /** - * @override - */ - background: function (previewMode, widgetValue, params) { - this._super.apply(this, arguments); - - var customClass = this.$target.attr('class').match(/\b(bg-img-\d+)\b/); - if (customClass) { - this.$target.removeClass(customClass[1]); - } - }, -}); diff --git a/theme_enark/__manifest__.py b/theme_enark/__manifest__.py index 03049a9ca..54602323f 100644 --- a/theme_enark/__manifest__.py +++ b/theme_enark/__manifest__.py @@ -9,7 +9,6 @@ 'data': [ 'data/generate_primary_template.xml', 'data/ir_asset.xml', - 'views/snippets_options.xml', 'views/image_library.xml', 'views/snippets/s_closer_look.xml', diff --git a/theme_enark/views/snippets_options.xml b/theme_enark/views/snippets_options.xml deleted file mode 100644 index 21e586f8e..000000000 --- a/theme_enark/views/snippets_options.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - None - - - - - - - - - - - - -