Edit with Pro button appears under the WP block editor

Hello,
We think it might be since WP 5.4 that this started happening. See the image below.

The WP editor shows above the Edit with Pro button.
It’s making us worried when we have to edit the page without the editor (such as changing the meta description).

How can we hide the WP block editor? Are we missing a configuration?

Thanks for your help!

Hi @magikweb,

Thank you for reaching out to us. Please be advised that the WordPress version 5.4.0 which is a major update, is not yet compatible with our theme see https://theme.co/docs/version-compatibility

However you can temporarily fix the issue by adding the following code in the child theme’s functions.php file (see https://theme.co/docs/child-themes):

/* Temporary fix for Gutenburg issue with WP 5.4 */
add_action('admin_head', 'fix_content_builder');

function fix_content_builder() {
  echo '<style>
    .cs-disable-gutenburg #editor .edit-post-visual-editor.editor-styles-wrapper {
      display: none!important;
    }
  </style>';
}

This will be fixed in the next release of the theme and then you can safely remove the above code. Hope this helps!

1 Like

Thank you! I’m glad it’s a temporary bug and not something we caused.

You’re most welcome, @magikweb.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.