Link is not editable when text above and link are selected.
📝 Provide detailed reproduction steps (if any)
- Add the elements (in described order) text, link
- Select all editor content
Reproduction as mentioned above: Screencast from 23-08-24 10:51:20.webm
More elaborate demo of the issue: Screencast from 23-08-24 10:14:13.webm Screencast from 23-08-24 10:15:55.webm
✔️ Expected result
I would expect that the link control in the toolbar would be highlighted and I can edit the link. Similiar behaviour happens when the editor has the content in described order link text. When the text is below the link and I select the whole content the link control in the toolbar is highlighted and I can edit the link.
❌ Actual result
The link control in the toolbar is not highlighted and I cannot edit the link.
❓ Possible solution
It seems to be an issue in the LinkCommand refresh-method.
📃 Other details
- Browser: Firefox and Chromium. I was not able to test for Safari.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
I can confirm that the reported issue is reproducible and valid.