pods icon indicating copy to clipboard operation
pods copied to clipboard

Update Pods Blocks to v3

Open JoryHogeveen opened this issue 6 months ago • 1 comments

Description

Problem: https://wordpress.org/support/topic/wordpress-editor-background-grey-if-plugin-not-enabled/ Cause: https://wordpress.org/support/topic/editor-canvas-iframe-vs-div/

If all registered blocks are at API version 3, the canvas uses an iframe. If not, it uses a div.

Basically, our blocks need to be updated to the new v3 blocks to support an iFrame.

Docs: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-api-versions/

Version

3.0.10

Testing Instructions

  1. Go to block editor
  2. See it's canvas is an iframe element
  3. Enable Pods
  4. Go to block editor
  5. Not an iframe anymore :(

JoryHogeveen avatar Dec 21 '23 16:12 JoryHogeveen