diff --git a/addons/web_editor/static/src/js/editor/snippets.options.js b/addons/web_editor/static/src/js/editor/snippets.options.js index e861a31b847..73e1d6c8305 100644 --- a/addons/web_editor/static/src/js/editor/snippets.options.js +++ b/addons/web_editor/static/src/js/editor/snippets.options.js @@ -6246,15 +6246,6 @@ registry.BackgroundShape = SnippetOptionWidget.extend({ }); return uiFragment; }, - /** - * @override - */ - async _computeWidgetVisibility(widgetName, params) { - if (widgetName === 'shape_none_opt') { - return false; - } - return this._super(...arguments); - }, /** * Flips the shape on its x/y axis. * diff --git a/addons/web_editor/views/snippets.xml b/addons/web_editor/views/snippets.xml index 986c0b3d81a..250d8f9a8a0 100644 --- a/addons/web_editor/views/snippets.xml +++ b/addons/web_editor/views/snippets.xml @@ -234,136 +234,137 @@ t-att-data-selector="selector" t-att-data-exclude="exclude" t-att-data-target="target"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +