Skip to content

Commit

Permalink
[FIX] theme_zap: remove contentenditable property from Masonry image
Browse files Browse the repository at this point in the history
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]: odoo/odoo#103767

opw-3028116

closes odoo#616

Related: odoo/odoo#103767
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information
sobo-odoo committed Nov 3, 2022
1 parent bcc84fb commit 6e28592
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion theme_zap/views/snippets/s_masonry_block.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<!-- Block #04 -->
<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="contenteditable" add="false" separator=" "/>
</xpath>
<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=""/>
Expand Down

0 comments on commit 6e28592

Please sign in to comment.