You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIX] html_editor: focus image link popover URL input by default
Steps to reproduce:
- Insert an image (e.g., type /media)
- Convert image into link.
- URL input is not automatically focused when the image link popover opens.
- Popover remains open on Escape because it does not receive focus.
Before this commit:
- When converting an image into a link, the image link popover did not have
a label input. As a result, the URL input did not receive focus by default.
- Pressing Escape key did not close the popover because it never gained focus.
After this commit:
- The URL input in the image link popover is now focused by default, and
pressing the Escape key closes the popover.
task-4752206
closes#208221
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
0 commit comments