diff --git a/addons/web_editor/static/src/js/wysiwyg/widgets/color_palette.js b/addons/web_editor/static/src/js/wysiwyg/widgets/color_palette.js index 256ab8590ab..54aecb885d6 100644 --- a/addons/web_editor/static/src/js/wysiwyg/widgets/color_palette.js +++ b/addons/web_editor/static/src/js/wysiwyg/widgets/color_palette.js @@ -1039,4 +1039,13 @@ export class ColorPalette extends Component { this._updateGradient(); this._activateGradientSlider($(this.pickers['custom_gradient'].querySelector('.o_slider_multi input'))); } + /** + * @private + * @param {Event} ev + */ + _onColorpickerClick(ev) { + if (ev.target.matches(".o_colorpicker_section, .o_colorpicker_sections")) { + ev.stopPropagation(); + } + } } diff --git a/addons/web_editor/static/src/xml/snippets.xml b/addons/web_editor/static/src/xml/snippets.xml index e6a08a9e1ac..d4623f8bf8c 100644 --- a/addons/web_editor/static/src/xml/snippets.xml +++ b/addons/web_editor/static/src/xml/snippets.xml @@ -60,7 +60,7 @@ -
+
ThemeSolid