diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index ebbe0bf5dd8..6d9a2ff0ea1 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -1162,8 +1162,8 @@ this.$target.find('.carousel-indicators [data-target]').off('click').on('click', function () { self.$target.carousel(+$(this).data('slide-to')); }); - this.$target.attr('contentEditable', 'false') - .find('.oe_structure, blockquote').attr('contentEditable', 'true'); + this.$target.attr('contentEditable', 'false'); + this.$target.find('.oe_structure, blockquote').attr('contentEditable', 'true'); this.$target.carousel('pause'); }, @@ -1303,6 +1303,8 @@ var self = this; this.$target.find('.carousel-control').off('click').on('click', function () { self.$target.carousel( $(this).data('slide')); }); + + this.$target.find('.carousel-image img, .content').attr('contentEditable', 'true'); this._super(); }, });