diff --git a/addons/web_editor/static/lib/odoo-editor/src/OdooEditor.js b/addons/web_editor/static/lib/odoo-editor/src/OdooEditor.js index 61fec6bc220..819894c536b 100644 --- a/addons/web_editor/static/lib/odoo-editor/src/OdooEditor.js +++ b/addons/web_editor/static/lib/odoo-editor/src/OdooEditor.js @@ -2817,7 +2817,7 @@ export class OdooEditor extends EventTarget { const node = ev.target; // handle checkbox lists if (node.tagName == 'LI' && getListMode(node.parentElement) == 'CL') { - const beforStyle = window.getComputedStyle(node, 'before'); + const beforStyle = window.getComputedStyle(node, ':before'); const style1 = { left: parseInt(beforStyle.getPropertyValue('left'), 10), top: parseInt(beforStyle.getPropertyValue('top'), 10),