• Resolved esszach

    (@esszach)


    Good afternoon,

    I’m getting the following in the browser console while using the block editor, WordPress 6.9.9 running WPO365-Login 44.1:

    Block with API version 2 or lower is deprecated since version 6.9. See: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-api-versions/block-migration-for-iframe-editor-compatibility/ Note: The block "wpo365/docsbasic" is registered with API version 1. This means that the post editor may work as a non-iframe editor. Since all editors are planned to work as iframes in the future, set the apiVersion field to 3 and test the block inside the iframe editor.

    My understanding is this can potentially cause compatibility issues with WordPress and/or some plugins that use blocks.

    Do you plan to either update the block apiVersion to 3, or is there a way to prevent this block from registering so the issue can be avoided?

    Many thanks,
    Zach

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marco van Wieren

    (@wpo365)

    Hi @esszach

    That is a fair point and I’ll investigate what options there are to indeed prevent it from auto-registering. Basically the Documents block is end-of-life and instead the recommended way to embed SharePoint files in WordPress is using one of the shortcode based embed-apps. I’ll consider adding an option to register the legacy block.

    Thank you for bringing this to my attention!

    -Marco

    Thread Starter esszach

    (@esszach)

    Hi Marco,

    That’s great – thank you!

    Best,
    Zach

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.