Custom Fields
Re-Envisioned
Support General New contexts broken with Gutenberg

  • Creator
    Topic
  • #8920
    Resolved guwebservices
    Participant

    I have MetaBox 4.13.4 installed and am using the Gutenberg plugin. I created a metabox that functions perfectly when I set the context to “normal” or “advanced”. However, if I set the context to “after_editor”, “after_title”, or “form_top”, the meta box does not appear on the page at all. The meta box does appear if I switch to the classic editor.

    Code is here: https://pastebin.com/tue5Ezvz

    Is there a plan to fix this so that these new contexts also work with Gutenberg?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #8928
    Anh Tran
    Keymaster

    Hello,

    Unfortunately, Gutenberg doesn’t support contexts. It has only one place to show meta boxes. So, please just remove the contexts param from the meta box settings.

    #11660
    Ale
    Participant

    Are contexts still not working for Gutenberg?
    Thanks!

    #11674
    Anh Tran
    Keymaster

    @Ale: No, it’s not. Gutenberg is JavaScript-editor and it doesn’t support many PHP hooks, including contexts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.