Opened 6 years ago
Closed 6 years ago
#3735 closed defect (bug) (fixed)
Frontenberg broken on Rosetta websites: Block "core/shortcode" is not registered.
Reported by: | audrasjb | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | International Sites (Rosetta) | Keywords: | |
Cc: |
Description
Hello,
Hello, fronteberg seems to be broken.
This error appear in browser console: Block "core/shortcode" is not registered.
Examples:
- WordPress.org: https://wordpress.org/gutenberg
- Rosetta: https://fr.wordpress.org/gutenberg
Change History (8)
This ticket was mentioned in Slack in #meta by garrett-eclipse. View the logs.
6 years ago
#4
@
6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This issue continues to persist and seems to be a RACE condition so doesn't always surface
#5
@
6 years ago
Still seeing this happen as of today, August 3, 2018.
I commented in Slack with a suspected cause.
The white screen is caused by this line: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php?rev=7584#L158
Probably a race condition with the initialization of the editor, which is slightly more involved https://github.com/WordPress/gutenberg/blob/9ae5aa223ef80c48f2352e4b90ffaefc37bc5258/lib/client-assets.php#L1292-L1298
Instead ofwp.domReady
, it should probably be usingwindow._wpLoadGutenbergEditor.then
The issue seems to be fixed now, thanks :)