Editor displays post body as HTML instead of blocks
-
Since upgrading to 5.4.1 from 5.3.something, the block editor is not working properly for editing existing posts or creating new ones. The post body appears as a single text field containing the HTML source code, e.g.
<!-- wp:paragraph --> <p>The first paragraph, which should be a block.</p> <!-- /wp:paragraph --> <!-- wp:image {"align":"left","id":2407} --> <div class="wp-block-image"><figure class="alignleft"><img src="https://example.com/wp-content/uploads/2020/03/pic-676x1024.jpg" alt="" class="wp-image-2407"/></figure></div> <!-- /wp:image -->
The rest of the block editor works fine! For example, the Block navigation button tells me that there is a Paragraph and an Image. And the Content structure button reports that there are 2 blocks and 1 paragraph.
Displaying the post works as expected: it’s just the editor that is problematic.
I have tried re-installing 5.4.1, disabling all plugins, switching to the Twenty Twenty theme, and using a different browser, all to no effect. I don’t think my web host is using any caching.
Can you suggest something else I could check, or something I may have missed?
- The topic ‘Editor displays post body as HTML instead of blocks’ is closed to new replies.