Home › Forums › Gutenberg › ACF Blocks – Need stable id › Reply To: ACF Blocks – Need stable id
I did some testing with using block.json to register a block and declare your clb-custom-anchor
explicitly and it worked. It doesn’t seem possible to do the same way with acf_register_block_type
.
Using block.json is the new standard, so it makes sense to do it that way. Have you looked into it? The transsition isn’t that bad. If you json_encode you settings from the acf_register_block_type
array it’s mostly usable with the block.json format.
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.