Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web_editor: inserting icon it replaces another
Before this commit: -On inserting icon in note, it replaces another icon.It occurs because `isEmpty(block)` returns true, when block element was font-awesome, which causes the code in `insert` method to remove current node, resulting in removal of previous icon. After this commit: -Now icon is added without replacing the another icon. task-3482264 closes #152929 X-original-commit: 9a94877 Signed-off-by: Antoine Guenet (age) <age@odoo.com>
- Loading branch information