Skip to content
Snippets Groups Projects
Commit 1f4b606a authored by Antoine Guenet's avatar Antoine Guenet
Browse files

[FIX] web_editor: remove invisible space on insert media where forbidden

The web editor inserts zero-width characters (unicode 200B) around media
when inserting them in the DOM so as to be able to edit before and after
said media (contenteditable caveat). It should however not do so in fake
not-editable nodes - such as the navbar - given that we do not expect to
edit in them but only to replace the media. This ensures that behaviour.

closes odoo/odoo#31200
parent fec86404
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment