Home › Forums › Gutenberg › Change _underscore names to -dash names without loosing content › Reply To: Change _underscore names to -dash names without loosing content
Thank you for your detailed explanation.
Let me summarize how I came up with that. I use
allowed_block_types_all
for whitelisting blocks, which also excluded my ACF blocks… which is obvious.
I’m using the “Basic Example” from here
For whatever reason
'acf/comparison_table'
did not work for unblocking it in my test blog, but
'acf/comparison-table'
did.
I changed it in the block.json
"name": "acf/comparison-table",
and in the whitelist, of course.
No idea what causes this, but maybe this will help someone. I have been looking for the cause for a while.
It’s probably how WP is parsing the block names, as you say.
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.