-
- Downloads
[FIX] web_editor: remove non-connected nodes in applyColor command
Before this commit, the `applyColor` command returned non-connected nodes
(nodes with no parent) in some not well-defined situations, leading to a Warning
when `selection.addRange()` was called by `_processAndApplyColor` with
such non-connected node as argument.
This commit properly removes such non-connected nodes from the array returned
by `applyColor`.
closes odoo/odoo#118419
Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
Please register or sign in to comment