Title: Invalid content error in Gutenberg Code Block
Last modified: February 25, 2019

---

# Invalid content error in Gutenberg Code Block

 *  [MoreImpress](https://wordpress.org/support/users/moreimpress/)
 * (@moreimpress)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/invalid-content-error-in-gutenberg-code-block/)
 * HTML code in Gutenberg Editor Code Block not display correctly – “This block 
   contains unexpected or invalid content”

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

 *  [fsamek](https://wordpress.org/support/users/fsamek/)
 * (@fsamek)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/invalid-content-error-in-gutenberg-code-block/#post-11292304)
 * After many issues (lost translations and other incompatibilities) especially 
   after upgrading to wp 5.1 I ended up going back to previous wp release and to
   the old standard editor. Fortunately I had a backup because it made a real mess.
   Get rid of gutenberg and beaver builder. You’ll save yourself a lot of trouble.
   Good luck
 *  [doctorgabi](https://wordpress.org/support/users/doctorgabi/)
 * (@doctorgabi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/invalid-content-error-in-gutenberg-code-block/#post-11710849)
 * Is there an alternative solution? To get rid of Gutenburg and Beaver Builder 
   would mean to rebuild the entire site in order to fix one broken page with this
   issue :-/

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

The topic ‘Invalid content error in Gutenberg Code Block’ is closed to new replies.

 * ![](https://ps.w.org/wp-multilang/assets/icon-256x256.png?rev=1760406)
 * [WP Multilang - Translation and Multilingual Plugin](https://wordpress.org/plugins/wp-multilang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-multilang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-multilang/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-multilang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-multilang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-multilang/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [doctorgabi](https://wordpress.org/support/users/doctorgabi/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/invalid-content-error-in-gutenberg-code-block/#post-11710849)
 * Status: not resolved