diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-10-16 15:50:09 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-10-16 17:14:11 +0000 |
| commit | 078308b25b9eb9a456daac28815dca8f40ed0c33 (patch) | |
| tree | c30288d384b31ec9f209ec2ec8a5ff03c3b573fb /addons/web/static/src/js/fields/basic_fields.js | |
| parent | c8c828ee14533176cfef5b2e7d29344286af74be (diff) | |
[FIX] web_editor: keep `<i/>` elements after icon edition
Any non `<span/>` element which was transformed into an icon thanks to
the media dialog was transform into a `<span/>` then processed by
summernote. In some cases, this processing breaks the DOM... for no
reason as the DOM should not have been transformed into a `<span/>` in
the first place: `<i/>` elements inside a `<span/>` for example should
stay `<i/>` elements after edition.
closes odoo/odoo#60200
X-original-commit: 4bfcb80e3664ccc74b7ec5e7e10ace6e44ab98d3
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
