Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • neoweiter

    (@neoweiter)

    If it can help someone. I figured out that by creating a custom block with ACF plugin, it will force the editor to stay in non-iframed mode, thus removing that annoying resize handle.

    Here is an example of custom block code to place in functions.php :

    /**
    * WP EDITOR WORKAROUND
    * add fake custom block to force gutenberg editor to stay in non-iframed mode
    */
    if( function_exists('acf_register_block_type') ){
    add_action('acf/init', function(){
    acf_register_block_type([
    'name' => 'my_custom_block',
    'title' => 'Custom Block',
    'mode' => 'edit'
    ]);
    });
    }

    I have the same problem. It takes about 20sec for wordpress to add a new content (post, page..). Every other section from the admin is super fast. The problem disappears when I disable Sucuri. Does someone know how to fix this ? Is there a feature in Sucuri that slows the add of new content ?

Viewing 2 replies - 1 through 2 (of 2 total)