You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#498 rendered the map blocks in the editor, and that worked on the SotW page in my tests. Today I noticed that it's now rendered as a This block has encountered an error and cannot be previewed placeholder.
This error is in the console:
Uncaught ReferenceError: wporgGoogleMap is not defined
Edit index.js:21
It seems like the PHP render() function gets called in the page editor, but not the site editor. I tried switching to a <ServerSideRender>, but that didn't work.
The text was updated successfully, but these errors were encountered:
iandunn
changed the title
Map block sometimes won't render in editor
Map event-filters block sometimes won't render in editor
Nov 17, 2023
iandunn
changed the title
Map event-filters block sometimes won't render in editor
Map block renders in page editor but not template editor
Nov 23, 2023
#498 rendered the map blocks in the editor, and that worked on the SotW page in my tests. Today I noticed that it's now rendered as a
This block has encountered an error and cannot be previewed
placeholder.This error is in the console:
It seems like the PHP
render()
function gets called in the page editor, but not the site editor. I tried switching to a<ServerSideRender>
, but that didn't work.The text was updated successfully, but these errors were encountered: