Unable to edit link on an image

Created on 4 September 2024, 8 months ago

Problem/Motivation

I am unable to update the link on an image in the CKEditor5 editor, using the edit link feature. I can go in and edit it, but after I click the checkmark, it changes back to the original link. I was not able to achieve the same result while linking to text, and I have not tested this with embedded media entities, only with embedded images (not media). I have also not yet tested this with internal links. I was only able to work around this by unlinking and adding a new link.

Steps to reproduce

  1. Configure a text format using CKEditor5
  2. Make sure Image and Link are in the active toolbar
  3. Edit the field in a node using that format
  4. Upload an image into that field
  5. Link image to an external site
  6. Save the node
  7. Edit the node again
  8. Click the image
  9. Click the link icon
  10. Click edit
  11. Update the link
  12. Click the checkmark to accept the change
  13. See that the change was not accepted

Proposed resolution

Remaining tasks

  1. Test to see if this problem remains on Drupal 11
  2. Test to see whether this problem occurs with media
  3. Test to see whether this problem occurs with internal links
  4. Fix the bug
🐛 Bug report
Status

Active

Version

10.3

Component
Editor 

Last updated 6 days ago

Created by

🇺🇸United States MegaKeegMan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024