Support

Account

Home Forums Gutenberg Use field placeholder for acf_register_block_type preview

Unread

Use field placeholder for acf_register_block_type preview

  • Would it be possible to use the placeholder text for the preview of a block type fields? This way you just have to manage the content on once place and creating previews becomes a lot easier

    'example'  => array(
        'attributes' => array(
            'mode' => 'preview',
            'data' => array(
                'field1' => field1[placeholder]
                'field2' => field2[placeholder]
            )
        )
    )
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.