• Why does my default block editor look like below? I only updated to version 6.6.1 a month ago. I’m getting this error after the update only. Also, recently I switched back from the classic editor to the block editor, and my post tags got shuffled and messed up. I’m also getting the error “This block contains unexpected or invalid content.” for most of the blocks. How can I recover it automatically? Could you please help for both?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator threadi

    (@threadi)

    What exactly is the issue you can see in your screenshot? The font seems unusual to me, but that is determined by the theme or global settings. What exactly is the problem?

    If you normally manage your content in the Block Editor, I would advise you not to simply open it in the Classic Editor and then convert it back – that’s unnecessary.

    Thread Starter venkat01

    (@venkat01)

    @threadi

    Yes, the fonts and alignments look unusual, but this change happened only after the WordPress update.

    Initially, we were using the block editor. Due to some reasons, we switched to the classic editor after the WordPress update. However, the classic editor started causing unnecessary spacing issues. So, we switched back to the block editor recently, but now the tags are shuffled and messed up.

    Is there any way to fix this automatically? I have so many posts. Could you please help?

    Moderator threadi

    (@threadi)

    I assume by WordPress update you mean the latest version 6.7? The display in the editor depends heavily on the theme used. If the theme you are using is not yet compatible with the new WordPress version, this may result in errors. Which theme are you using?

    How did you switch the posts from Block Editor to Classic Editor? Normally you just install the Classic Editor plugin and then edit the posts manually. I don’t think you’ve edited that many posts manually. If there are problems, then only with the posts that you have edited in the Classic Editor. All other posts are still saved in the modern block editor format and therefore do not need to be adjusted.

    Thread Starter venkat01

    (@venkat01)

    We are using the Twenty Twenty-Three theme and WordPress version 6.6.1, not 6.7.

    Yes, we installed the Classic Editor plugin and edited around 30 to 40 posts. Now, most of these posts are showing the error “This block contains unexpected or invalid content.” When checked in the code editor, unnecessary tags have been created or shuffled. Is there any way to fix this automatically?

    Moderator threadi

    (@threadi)

    No, you have to go through this manually, as there could be a different cause in each case. An automatic process could ultimately lead to even more unattractive views.

    Thread Starter venkat01

    (@venkat01)

    Okay. Thanks. Any idea how to fix the font and alignment issues in the editor?

    Moderator threadi

    (@threadi)

    As mentioned above, this depends heavily on your theme and its specifications or your global settings. If you want to go through the latter, take a look at the video here: https://learn.wordpress.org/lesson/styling-your-site-with-global-styles/

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

The topic ‘Default block editor issues’ is closed to new replies.