maps-block-apple icon indicating copy to clipboard operation
maps-block-apple copied to clipboard

fix update apiVersion of block to version 3

Open fabiankaegy opened this issue 1 year ago • 1 comments

Description of the Change

Since WordPress 6.3 any blocks that support being rendered in an iframe should use apiVersion: 3 or higher. The Apple maps block has long supported being rendered in an iframe because of the Site Editor support. So we should have opted in right away.

Closes #

How to test the Change

Everything should work as expected.

Changelog Entry

Changed - Update apiVersion of Apple Maps Block to Version 3

Credits

Props @fabiankaegy

Checklist:

  • [x] I agree to follow this project's Code of Conduct.
  • [x] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my change.
  • [x] All new and existing tests pass.

fabiankaegy avatar May 15 '24 08:05 fabiankaegy

@dkotter sorry that I didn't notice. From all my experience with version 3 I had never encountered a failure and since I implemented the initial iframe support I assumed it would just work. My bad. Will dive into this. Relly odd that it fails 🤔

fabiankaegy avatar May 16 '24 14:05 fabiankaegy