-
Notifications
You must be signed in to change notification settings - Fork 385
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
Breaks image and media blocks with Gutenberg 17.3.0 and 17.4.0 #7710
Comments
Related source code:
|
@thelovekesh If this turns out to be a challenge to fix for compatibility with the latest Gutenberg, I think we should just eliminate the |
Verified the fix and it is working fine with and without the Gutenberg, as well as with earlier versions of WordPress.
Also, It is not breaking any other functionality in the Block editor. |
Bug Description
With Gutenberg 17.3.0 and above activated alongside AMP, the Image, Gallery, and Media & Text blocks do not work in the editor. They show "This block has encountered an error and cannot be previewed."
Related console error:
Relevant block from amp-block-editor.js:
Expected Behaviour
The core blocks should work as expected
Screenshots
PHP Version
8.2
Plugin Version
2.5.1
AMP plugin template mode
Standard
WordPress Version
6.4.2
Site Health
No response
Gutenberg Version
17.3.0 and above
OS(s) Affected
No response
Browser(s) Affected
No response
Device(s) Affected
No response
Acceptance Criteria
No response
Implementation Brief
No response
QA Testing Instructions
No response
Demo
No response
Changelog Entry
No response
The text was updated successfully, but these errors were encountered: