diff --git a/addons/website/static/src/scss/website.edit_mode.scss b/addons/website/static/src/scss/website.edit_mode.scss index 7b5798697f0..4c5abba3ca9 100644 --- a/addons/website/static/src/scss/website.edit_mode.scss +++ b/addons/website/static/src/scss/website.edit_mode.scss @@ -256,3 +256,21 @@ body.editor_enable { } } } + +// Inputs in editable zones should not be possible to interact with. +// TODO as this was done as a fix in 13.0, this only targets the inputs of +// specific snippets and even targets snippets of other apps (which do not +// declare files for edit mode only). In master it should be refactored to +// target all inputs and/or target specific snippets in their own app. +.editor_enable { + .s_website_form, .s_searchbar_input, .js_subscribe, .s_group, .s_donation_form { + input { + pointer-events: none; + } + } + .s_website_form { + [data-toggle="datetimepicker"], textarea { + pointer-events: none; + } + } +}