-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor template canvas #18
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
Conversation
👋 @marcospassos
☝️ Lastly, the title for the commit will come from the pull request title. So please provide a descriptive title that summarizes the changes in 50 characters or less using the imperative mood. |
commit: |
🔥 Here is the preview of the pull request: |
Summary
CSS styles are currently being inserted as plain text, causing React to escape HTML characters and break the styling. This PR updates the logic to inject raw CSS using
dangerouslySetInnerHTML
, ensuring the styles are applied correctly.This PR also adds a feature that allows the canvas to self embed the current page, including a Next-specific component.
Checklist