kendo-vue
kendo-vue copied to clipboard
If an image has a hyperlink, the hyperlink is cleared when editing the image's width or height
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:
After:
To Reproduce
- Open https://codesandbox.io/s/elegant-parm-l7w93g
- Right-click the image in the editor, you should see the option to open the link.
- Select the image
- Open the "Insert Image" tool
- Change the width or height to another value (e.g. width -> 200px)
- Click the insert button within the tool
- 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.