[FIX] web_editor: DOMElement used as jQuery element
[FIX] web_editor: DOMElement used as jQuery element

The function receives a jQuery element most of the time but it
may receive a DOMElement in some cases.

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo