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

Hotfix: Tiptap media upload, prevent pasted HTML fragments #17518

Merged

Conversation

leekelleher
Copy link
Member

Description

Fixes #17505.

When using the browser's "Copy image" feature, a HTML fragment is copied to the Clipboard, when pasting this into the Tiptap RTE, both the Image and Media Upload extensions were being triggered, showing duplicate images (one remote, one uploaded).

This fix prevents any image references that are pasted in from a HTML fragment to be uploaded to the server. The original (source) URL will be used for external image references.

containing images, being uploaded to the server.
@iOvergaard iOvergaard merged commit 5032a78 into release/15.0 Nov 12, 2024
14 of 16 checks passed
@iOvergaard iOvergaard deleted the v15/hotfix/tiptap-media-upload-prevent-paste-html branch November 12, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants