Support

Account

Home Forums Gutenberg Gutenberg / Sometimes ACF blocks don't open after clicking edit icon

Solving

Gutenberg / Sometimes ACF blocks don't open after clicking edit icon

  • Hello,

    I’ve experienced the following issue:
    Sometimes my ACF Gutenberg blocks dont open if I click the edit-icon in the block menu. After reloading the page its working again.

    I register the blocks like this:

    acf_register_block_type(array(
               'name'              => 'text-cols',
               'title'             => __('Text-Spalten'),
               'description'       => __('Mehrspaltiger Text - eine bis vier Spalten.'),
               'render_template'   => 'template-parts/blocks/text/text.php',
               'category'          => 'strategis',
               'icon'              =>  file_get_contents( get_template_directory() . '/template-parts/blocks/text/text.svg' ),
               'supports' => array( 'align' =>false, 'anchor' => true),
               'keywords'          => array( 'text' ),
               'mode' => 'edit'
           ));

    Is this a know issue?
    Does changeing the mode fix this issue?

    Best
    P.

  • Is there no one with the same issue out there?

  • I think we may be having the same issues, if you’ve resolved it please let me know…

    In my case I’m able to add the custom control and in preview mode it displays fine, but when I click on it to enter edit mode, all I get is an empty rectangle with a spinning circular icon, as if it were waiting to load. That also appears in the custom control area of the Inspector. Is this similar to what you experienced?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.