Skip to content

Remove default file value from embeds#170

Merged
camdendotlol merged 1 commit intodevelopfrom
cm/compare-events-fix
Oct 23, 2024
Merged

Remove default file value from embeds#170
camdendotlol merged 1 commit intodevelopfrom
cm/compare-events-fix

Conversation

@camdendotlol
Copy link
Contributor

Summary

This PR fixes an issue where the Insert Event and Insert Event Comparison modals would always include a file attribute in the resulting rich text node, even when it should not have been included (e.g. during a full non-clip embed). This extraneous file attribute could become outdated if the event changed, causing crashes in the project client when viewing certain events.

@netlify
Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for avannotate-staging ready!

Name Link
🔨 Latest commit a31858b
🔍 Latest deploy log https://app.netlify.com/sites/avannotate-staging/deploys/6717f3bd5df5e700081d11dd
😎 Deploy Preview https://deploy-preview-170--avannotate-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@lwjameson lwjameson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@camdendotlol camdendotlol merged commit 05df067 into develop Oct 23, 2024
@camdendotlol camdendotlol deleted the cm/compare-events-fix branch October 23, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants