Skip to content
Snippets Groups Projects
Commit 2408a1ef authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[FIX] web_editor: change do not bold nobold after bold


If we have a content such as:

`aaa <B>bbb</B> ccc`

and you eg. change size of `a bbb c`, the c gets bold because of an
issue in the merging after style is applied.

reason: we check that the style was same as previous nodes, but because
walkpoints text[a]->B->text[bbb]->B->text[c] is expurged of duplicates
it becomes text[a]->B->text[bbb]->text[c] so we erroneoulsy think that
the node before text[c] is text[bbb] (instead of B tag)

opw-2071930
closes #37254

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent a4ae696a
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