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.