Files
odoo_source/addons/web_editor
Sébastien Geelen (sge) 8369ae63c5 [FIX] web_editor: never sanitize null element
The target for `this._pluginCall('sanitizeElement', ...)` should never be null.

As we provide the parent element of the initial target for optimal sanitization,
we can encounter some cases where the target element is not yet added in the DOM
and as such doesn't have a parent Element.

We add a verification to ensure sanitization doesn't generate error in those cases.

task-3356284

closes odoo/odoo#124287

X-original-commit: 1d9decd6b08eb2d093f0dcead73f3bb895be27ff
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Geelen Sébastien (sge) <sge@odoo.com>
2023-06-08 16:10:38 +02:00
..
…
2023-05-12 22:59:22 +02:00
…