Home › Forums › Gutenberg › Switch to edit mode by default › Reply To: Switch to edit mode by default
For future reference, as I hope that this question has been resolved in the mean time:
acf_register_block_type(array(
...
'mode' => 'edit',
'supports' => array('mode' => false),
));
When using these settings for a block, it will start in edit mode and the user won’t be able to switch.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.