[FIX] web_editor: fix focus for some tools in Summernote - Go to Project - Open a project to display Tasks - Switch to list view - Click on create button - On task form page, click nowhere. (It is important to not click on anything) - On the taskbar of the WYSIWYG editor used for Description, click on one of the following actions:     * Unordered list     * Ordered list     * Checklist     * Table     * Style - The action will be applied to the "name" field (Task Title) and   an error will prompt for Unordered list, Ordered list and Checklist actions - If not, discard the form and retry by opening the form with create button
[FIX] web_editor: fix focus for some tools in Summernote
- Go to Project
- Open a project to display Tasks
- Switch to list view
- Click on create button
- On task form page, click nowhere. (It is important to not click on anything)
- On the taskbar of the WYSIWYG editor used for Description, click on one of the following actions:
    * Unordered list
    * Ordered list
    * Checklist
    * Table
    * Style
- The action will be applied to the "name" field (Task Title) and
  an error will prompt for Unordered list, Ordered list and Checklist actions
- If not, discard the form and retry by opening the form with create button

In this case, the WYSIWYG editor does not have the focus and try to execute
the tool action on the current focused element.

opw-2256835

closes odoo/odoo#52023

X-original-commit: eaa55ce3e806ad0d9609394309ff9d48b32bb73f
Signed-off-by: Nicolas Lempereur (nle) <2907e499a003d1c3ab7944c0a40c6df46e3e3c2f@odoo.com>

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