| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks great. I can no longer crash the editor with these changes in place.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Prevent editor crash when in patterns/media tabs in the block inserter and updating the design styles inside of the CoBlocks labs -> Site Design component.
Types of changes
Bug fix (non-breaking change which fixes an issue)
How has this been tested?
Tested this in the browser, recreating the steps outlined to crash the editor. The editor no longer crashes, however the styles will not update inside of the patterns/media tabs. This is due to changes in the editor in WordPress 6.7.2 and how the content is injected into an iframe and styles are transferred between the iframe and default editor. This will be reverted in 6.8, but will still effect users running the Gutenberg plugin.
Acceptance criteria
Reason for the PR is the prevent the editor from crashing when updating the styles under certain circumstances.
Checklist: