[FIX] web_editor: have video button even if sanitized
If a field is sanitized, a6e2b484 would hide the video button because the video does not show in backend. It is better for the consistency but if the field appear in frontend, the video would still show so we prevent something that worked (but is very not user friendly when editing in backend). This changeset go back to the previous behavior (keeping the code simplification), at one point there should be a fix so at least when editing we see the video (currently we see an empty div in given conditions). opw-2463746 closes odoo/odoo#66434 Signed-off-by:Nicolas Lempereur (nle) <nle@odoo.com>
Please register or sign in to comment