kendo-vue icon indicating copy to clipboard operation
kendo-vue copied to clipboard

If an image has a hyperlink, the hyperlink is cleared when editing the image's width or height

Open PekoPPT opened this issue 1 year ago • 1 comments

Describe the bug After inserting an image using the "Insert Image" tool it is possible to add a hyperlink to it using the "Insert Hyperlink" tool.

If the image's dimensions are then edited by selecting the image and using the "Insert Image" tool, the hyperlink that was previously added no longer exists.

Before: image After: image

To Reproduce

  1. Open https://codesandbox.io/s/elegant-parm-l7w93g
  2. Right-click the image in the editor, you should see the option to open the link.
  3. Select the image
  4. Open the "Insert Image" tool
  5. Change the width or height to another value (e.g. width -> 200px)
  6. Click the insert button within the tool
  7. Right click the image in the editor, you should see the option to open the link is no longer there.

Expected behavior The image should retain any hyperlinks that have been added even if it is resized.

PekoPPT avatar May 09 '23 07:05 PekoPPT