odoo/odoo#197590
Created by fw-bot
Merged
at cb68391e9d6ec74e2107ad9b818d29db8e93b461
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-17.4-17.0-task-4089085-link-selection-adch-398231-fw
- head
- 701dbc89c2cdc48982bb3441e8d073313e12ca77
- merged
- 3 months ago by Editor, David Monjoie (dmo)
odoo/odoo | |
---|---|
17.0 | #186213 |
saas-17.4 | #197590 |
18.0 | #197606 |
saas-18.1 | #199198 |
saas-18.2 | #199214 |
saas-18.3 | |
master | #199408 |
[FW][FIX] web_editor: adjust cursor behavior for links at line end
Steps to reproduce:
- Set up the editor with a link at the end of a line.
- Refresh to start with fresh content.
- Place the cursor at the end of the line with the link.
- Notice that the cursor defaults inside the link, displaying the green overlay.
- Attempt to type after the linkāthis requires pressing right arrow key to exit.
Description of the issue/feature this PR addresses:
- Clicking at the end or start of a line with a link placed the cursor inside the link by default, displaying the green overlay.
- Typing outside the link required pressing the arrow key.
Current behavior before PR:
- Placing the cursor at the start or end of a line with a link now defaults to positioning it outside the link.
- Green overlay is no longer shown, enabling direct text entry beside link.
- Accessing the link requires an intentional left or right arrow key press.
Forward-Port-Of: #186213