Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PekoPPT opened this issue May 9, 2023 · 1 comment
Labels
Bug Item which indicates that something is not working FP: Unplanned SEV: Medium

Comments

@PekoPPT
Copy link
Contributor

PekoPPT commented May 9, 2023

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 PekoPPT added Bug Item which indicates that something is not working FP: Unplanned SEV: Medium labels May 9, 2023
@PekoPPT
Copy link
Contributor Author

PekoPPT commented May 9, 2023

The bug is related to this issue: https://github.com/telerik/kendo-editor-common/issues/310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working FP: Unplanned SEV: Medium
Projects
None yet
Development

No branches or pull requests

1 participant