diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-09-23 09:15:01 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-09-25 12:18:30 +0000 |
| commit | beb80c20bdd89f2dc430e7488be381b146ce6492 (patch) | |
| tree | aa7a6cd12146392114cb8c3dd61412eab5e3433d /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c536b369d362e41f36b133f2b3646ba4ee4d8f4d (diff) | |
[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)
note: 12.5 forward-port (skipping [12.3,12.4]) of 11.0 #37254 (also
contain #37345)
opw-2071930
closes #37295
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
