-
Notifications
You must be signed in to change notification settings - Fork 0
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
Google Maps block doesn't work in blocks.wp-a2z.org #188
Comments
I can set a breakpoint on the
|
Hmm. this appears to be a problem with two bits of JavaScript both setting The second function is in
So why's it working on my local development environment? |
Updating the production site to Gutenberg 12.2.0 resolved the issue. For the fix see WordPress/gutenberg#37135 It would make sense to update oik to also use |
I made the change and tested locally. The code still works. Not a complete test since I wasn't able to reproduce the problem locally. I did notice one other anomaly. When oik-user is activated then the marker is not shown. This is because the postcode is not set for the current user. Questions:
|
While investigating a problem with Yoast's Google Map block I noticed that the Google Maps block doesn't appear to work in blocks.wp-a2z.org. There's just an empty space where the map should appear. It works fine in other sites.
It would appear that the inline Javascript is not being run. I don't know why not.
Reading https://stackoverflow.com/questions/5156388/how-to-set-breakpoints-in-inline-javascript-in-google-chrome/39156149#39156149 helped a bit but...
The text was updated successfully, but these errors were encountered: