This commit aims at linting and converting to ES6 some parts of web_editor JS to avoid as much noise as possible in UI refactor in next commit. Part of https://github.com/odoo/odoo/pull/36068 task-1942370
This commit aims at linting and converting to ES6 some parts of web_editor JS to avoid as much noise as possible in UI refactor in next commit. Part of https://github.com/odoo/odoo/pull/36068 task-1942370