ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Link is not editable when text above and link are selected.

Open Sanderovich opened this issue 1 year ago • 1 comments

📝 Provide detailed reproduction steps (if any)

  1. Add the elements (in described order) text, link
  2. 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.

Sanderovich avatar Aug 23 '24 08:08 Sanderovich

I can confirm that the reported issue is reproducible and valid.

kubaklatt avatar Oct 18 '24 11:10 kubaklatt