Support » Plugin: REST Gutenberg » ACF support

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author scottfoster

    (@scottfoster)

    Can you give me an example of what you would want?

    Thread Starter alexvandervegt

    (@alexvandervegt)

    Sure, this is the output of an ACF block in Gutenberg

    
    {
    blockName: "acf/teaser",
    attrs: {
    id: "block_5d8b73de2cc55",
    name: "acf/teaser",
    data: {
    title: "Vaatwassers",
    _title: "field_5d8b7356f46db",
    image: 26507,
    _image: "field_5d8b735ff46dc",
    links_0_link: {
    title: "Afzuigsysteem",
    url: "http://domain.com/test/afzuigsysteem/",
    target: ""
    },
    _links_0_link: "field_5d8b7373f46de",
    links_1_link: {
    title: "BORA Professional 2.0",
    url: "http://domain.com/test/test-professional-20/",
    target: ""
    },
    _links_1_link: "field_5d8b7373f46de",
    links: 2,
    _links: "field_5d8b7368f46dd"
    },
    align: "",
    mode: "preview"
    },
    innerBlocks: [ ],
    innerHTML: "",
    innerContent: [ ]
    }
    

    For example the image field only has an id, where the acf output has a whole image array. Also the links field only has an integer where is should be an array.

    Thread Starter alexvandervegt

    (@alexvandervegt)

    Do you plan to release this feature?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ACF support’ is closed to new replies.