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

Issue 736 upgrade iframe version #741

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KrinsKumar
Copy link
Contributor

This PR addresses the issue #736, where the objective was to upgrade the iframe-resizer-react package to the current latest version.

After a bit of research I found out that the new version was now called @iframe-resizer/react, and the child script that goes into the HTML content of the iframe was updated as well. Therefore the changes are as follows:

  • Updated package.json to reflect correct package
  • Updated the js script in /public/js/iframeResizer.contentWindow.min.js to the current latest child script. (this script goes into the HTML content in the iframe),
  • Updated the HtmlPreview.tsx file to use the correct package, and use the open source license.

I was able to test this iframe on google chrome and safari on mac, and it worked perfectly.

Please let me know if any more changes are needed!!l.

@humphd
Copy link
Collaborator

humphd commented Nov 19, 2024

Your stuff looks good, but I'm not happy with all this console spam:

Screenshot 2024-11-18 at 8 46 29 PM

Is there a way to silence all this? If not, I think we should look for an alternative, or stick with what we have.

@KrinsKumar
Copy link
Contributor Author

Hey can you talk about how to reproduce these logs? because I dont see these logs on my console. Regardless, even I am getting the license log, I dont think we can get rid of that.
image

@humphd
Copy link
Collaborator

humphd commented Nov 19, 2024

I don't want this spamware in our app. Can you research another option?

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