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

V15 Tiptap: It renders a duplicate image when copying an image #17505

Closed
nhudinh0309 opened this issue Nov 12, 2024 · 2 comments
Closed

V15 Tiptap: It renders a duplicate image when copying an image #17505

nhudinh0309 opened this issue Nov 12, 2024 · 2 comments

Comments

@nhudinh0309
Copy link
Contributor

nhudinh0309 commented Nov 12, 2024

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.0.0-rc4

Bug summary

When I copy an image into a content with Tiptap RTE, it renders a duplicate image.

Specifics

No response

Steps to reproduce

  1. Create a content with Tiptap RTE property
  2. Copy an image into RTE

Expected result / actual result

It should only render one image that I copied. Currently it renders a duplicate image with smaller size.

RC4_DuplicatedImage_Tiptap.mp4

This item has been added to our backlog AB#45839

@leekelleher leekelleher self-assigned this Nov 12, 2024
@nhudinh0309 nhudinh0309 changed the title V15 RC4 Tiptap: It renders a duplicate image when copying an image V15 Tiptap: It renders a duplicate image when copying an image Nov 12, 2024
@leekelleher
Copy link
Member

I can reproduce this, but only appears to be with images that are copied from a webpage (rendered HTML), e.g. right-clicking on an image and selecting "Copy image". When pasted into the Tiptap RTE this will trigger both the Image and Media Upload extensions to insert two pasted images, one with the original URL, another with the temporary file path (Blob URL).

We are investigating a fix.

@iOvergaard iOvergaard added the state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks label Nov 12, 2024
@leekelleher
Copy link
Member

Fixed in #17518

@leekelleher leekelleher added release/15.0.0-rc4 and removed state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks state/reproduced labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants