[FIX] theme_zap: remove contentenditable property from Masonry image

In [1], in order to allow back the edition of the images of the columns
in grid mode containing only an image, the `contenteditable` property
is removed from these columns.

This commit removes the `contenteditable` property that was set on an
image column of the Masonry snippet in the Zap theme.

[1]: https://github.com/odoo/odoo/pull/103767

opw-3028116

closes odoo/design-themes#617

X-original-commit: 6e285922a1
Related: odoo/odoo#104899
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Soukéina Bojabza
2022-10-31 10:03:30 +00:00
parent 3c61793056
commit 4c321782ac
@@ -29,7 +29,6 @@
<!-- Block #04 --> <!-- Block #04 -->
<xpath expr="//*[hasclass('col-lg-3')][4]" position="attributes"> <xpath expr="//*[hasclass('col-lg-3')][4]" position="attributes">
<attribute name="class" add="o_grid_item_image" remove="o_cc o_cc2" separator=" "/> <attribute name="class" add="o_grid_item_image" remove="o_cc o_cc2" separator=" "/>
<attribute name="contenteditable" add="false" separator=" "/>
</xpath> </xpath>
<xpath expr="//*[hasclass('col-lg-3')][4]" position="replace" mode="inner"> <xpath expr="//*[hasclass('col-lg-3')][4]" position="replace" mode="inner">
<img src="/web/image/website.s_masonry_block_default_image_2" class="img img-fluid mx-auto" alt=""/> <img src="/web/image/website.s_masonry_block_default_image_2" class="img img-fluid mx-auto" alt=""/>