Site Editor Compatibility: Map block #19482
Labels
[Block] Map
[Focus] Blocks
Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack
[Focus] FSE
Issues related to the site editor / Full Site Editing / FSE feature in Gutenberg
[Type] Bug
When a feature is broken and / or not performing as intended
In the new site editor in Gutenberg (/wp-admin/admin.php?page=gutenberg-edit-site), there are some issues with the Map block in the editor. The Map block itself appears to be able to be initialised within the site editor canvas, likely as a result of the editor canvas being rendered within an iframe. It looks like Mapbox expects to be given a string to match against a DOM node, or be given a DOM node.
Is there a way for us to get the Mapbox initialisation to play nicely with an iframe?
Steps to reproduce the issue
What I expected
The map to render and be usable within the editor
What happened instead
The map isn't rendered, and throws an error
The text was updated successfully, but these errors were encountered: