Gutenberg custom field type

Support General Gutenberg custom field type

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #43364
    hello@adame.io[email protected]
    Participant

    Is there any way to have a separate instance of Gutenberg created as a custom field?
    Just like we can pick WYSIWYG Editor as a field type, it would be an actual Gutenberg instance where blocks can be used as they would on the main content area.

    #43367
    brandonjpbrandonjp
    Participant

    I don't have an answer for you, but that's an interesting idea. If so, I'm guessing it would have to be the Isolated Editor rather than the full Block Editor. But I like the idea and I hope it's possible!

    #43369
    PeterPeter
    Moderator

    Hello,

    Do you mean to save the field value in the custom block as the post meta? If yes, please set the parameter storage_type to post_meta

    'storage_type' => 'post_meta'

    Follow the documentation https://docs.metabox.io/extensions/mb-blocks/#storage_type

    #43372
    hello@adame.io[email protected]
    Participant

    @peter what I meant is an actual Block Editor instance as a custom field.

    Right now, the Block editor is only allowed on the main post content area which is very limiting.

    This prevents relevant portions of a page that outputs the custom field's content limited at best to text and images and videos using the WYSIWYG editor as a field type, or high maintenance using the Custom HTML field type.

    Let's say that I want to use a fancy price table with before and after comparison element separated from the main content. That would translate to a group of fields + building the markup/CSS/JS, manually maintain and customize it over time.

    If there was a Block editor instance, I can just drag and drop the relevant block elements from some blocks plugins, and change their content.

    #43392
    PeterPeter
    Moderator

    Hello,

    Thanks for your details. I will forward your feedback to the development team to consider supporting a custom field type Block editor in future updates.

    #43403
    hello@adame.io[email protected]
    Participant

    Thank you @peter.
    I hope the product/dev team will see value on it 🙂

    #43421
    Blue liBlue li
    Participant

    I am also looking forward to this! Have seen searching for a solution a year -_-

    #44564
    LukášLukáš
    Participant

    It would be nice to have this field type.

    #45849
    hello@adame.io[email protected]
    Participant

    Here is a good example implemented recently on Greenshift, where you can use blocks inside their Table elements cells - https://youtu.be/B3I6qQ9LciM?t=53

    #45951
    DaveDave
    Participant

    I thought of this a while ago but I don't think its possible within WordPress, eg. Trouble. I suspect greenshift may be using innerblocks rather than separate editor right?

    #47947
    Derin ToluDerin Tolu
    Participant

    ACF Extended Pro

    ACF extended pro implemented the Automattic isolated block editor package. Its the same field used in BBpress on wordpress.org support forums

    #47948
    Derin ToluDerin Tolu
    Participant
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.