Open
Description
Most flows involve editing a post or page directly (edit.php
). But it is also possible to edit a page via the Site Editor (site-editor.php
).
To replicate, navigate to Appearance > Editor > Pages > Edit, then add a remote data block that requires choosing from a list (e.g., "Conference Event"). You will see a perpetual loading state, because there are no patterns available to render the data.
In the site editor context, loading patterns by block type (wp.data.select('core/block-editor').getPatternsByBlockTypes( /* block type */ )
) always returns an empty set. We are therefore unable to load the block's "default" pattern. We rely on the default pattern to display the remote data.
Metadata
Assignees
Labels
No labels