Support

Account

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.