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

Add name attribute to Preview IFrame #2908

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Jun 3, 2024

What is this pull request for?

In Alchemy 7.1, the preview Iframe had a name attribute that could be reference from inside the iframe by using window.name. With 7.2, this isn't the case anymore, and our (admittedly a bit special implementation) of previews have stopped working because of this missing attribute.

In Alchemy 7.1, the preview Iframe had a name attribute that could be
reference from inside the iframe by using `window.name`. With 7.2, this
isn't the case anymore, and our (admittedly a bit special
implementation) of previews have stopped working because of this missing
attribute.
@mamhoff mamhoff requested a review from a team as a code owner June 3, 2024 09:30
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (e5f8d3c) to head (caab029).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2908   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files         232      232           
  Lines        6273     6273           
=======================================
  Hits         6020     6020           
  Misses        253      253           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Thanks 🤦🏻

@tvdeyen tvdeyen merged commit 63c48fc into AlchemyCMS:main Jun 3, 2024
36 checks passed
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.

3 participants