[FIX] web_editor: disable link tool for s_share links
As the social media can now be handled via the s_social_media snippet, the media link tool is useless for s_share snippet. task-2739937 X-original-commit: 2238c8883ef83251ca230acf183da3078b79b961 Part-of: odoo/odoo#87933
This commit is contained in:
committed by
qsm-odoo
parent
029f5551c5
commit
df28bde6f1
@@ -380,7 +380,7 @@
|
||||
|
||||
<!-- Replace a media -->
|
||||
<!-- TODO probably review this system once the new editor is merged to not duplicate the selector, etc -->
|
||||
<div data-js="ReplaceMedia" data-selector="img, .media_iframe_video, span.fa, i.fa" data-exclude="a[href^='/website/social/'] > i.fa">
|
||||
<div data-js="ReplaceMedia" data-selector="img, .media_iframe_video, span.fa, i.fa" data-exclude="a[href^='/website/social/'] > i.fa, a[class*='s_share_'] > i.fa">
|
||||
<we-row string="Media">
|
||||
<we-button class="o_we_bg_brand_primary" data-replace-media="true" data-no-preview="true">Replace</we-button>
|
||||
<we-button class="fa fa-link"
|
||||
|
||||
Reference in New Issue
Block a user