New Block Editor Field Breaking Set Featured Image Button

Support Meta Box AIO New Block Editor Field Breaking Set Featured Image Button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49707
    Jacob HillJacob Hill
    Participant

    When I include the new block editor in a metabox, it breaks the "Set featured image" in a custom post type:

    Uncaught TypeError: _.chain(...).map(...).any is not a function
        at n._changeFilteredProps (media-models.min.js?ver=6.9:2:5653)
        at p (backbone.min.js?ver=1.6.0:2:3758)
        at f (backbone.min.js?ver=1.6.0:2:3497)
        at a (backbone.min.js?ver=1.6.0:2:692)
        at e.trigger (backbone.min.js?ver=1.6.0:2:3380)
        at h.Model.set (backbone.min.js?ver=1.6.0:2:5899)
        at n.initialize (media-models.min.js?ver=6.9:2:4998)
        at n.initialize (media-models.min.js?ver=6.9:2:140)
        at h.Collection (backbone.min.js?ver=1.6.0:2:8619)
        at n [as constructor] (backbone.min.js?ver=1.6.0:2:23898)

    As soon as I remove the block editor field, it works fine. It also breaks the single_image buttons.

    Not sure this is related, but I am adding the field using code like this:

    [
    	'type'    => 'block_editor',
    	'id'      => $prefix . 'override_content',
    	'name'    => __('Content Override', 'tf-events'),
    	'visible' => [$prefix . 'override_mode', 'modify'],
    ]
    #49710
    PeterPeter
    Moderator

    Hello Jacob,

    Thanks for reaching out.

    Please update Meta Box plugin to the new version 5.11.1 to fix the issue with Block editor field and the featured image of WordPress.

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