Title: Gutenberg code editor is simply broken
Last modified: February 20, 2019

---

# Gutenberg code editor is simply broken

 *  [focksbot](https://wordpress.org/support/users/focksbot/)
 * (@focksbot)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-code-editor-is-simply-broken/)
 * I don’t need help at the moment as I’ve simply installed the Classic Editor plugin
   for now. But I am looking for some assurance, from people who may know more about
   me, that something will eventually be done about Gutenberg’s ugly habit of adding
   in or editing your code on the fly.
 * I directly code some of my pages to get them exactly how I want them to look –
   particularly the front page, which works differently to most of my site. When
   editing my front page today, I found that the code editor was closing my links
   before I wanted them closed, duplicating links in random places and generally
   monkeying with whatever I put in it.
 * It got to the point where I simply wrote the code in another window and pasted
   it into the editor. The editor immediately added in a bunch of stuff that broke
   it. I deleted, pasted again – editor did the same thing. It is literally taking
   lines of code and repeating them three or four times.
 * As I say, switching to Classic Editor has solved the problem for now, but I gather
   that is going to be phased out eventually?

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-code-editor-is-simply-broken/#post-11224954)
 * > I gather that is going to be phased out eventually?
 * The Classic Editor plugin will be officially supported until December 31, 2021.
 * To learn more about the Block Editor (Gutenberg):
    – [https://wordpress.org/gutenberg/handbook/](https://wordpress.org/gutenberg/handbook/)–
   [https://wordpress.org/gutenberg/](https://wordpress.org/gutenberg/) – [https://gogutenberg.com/](https://gogutenberg.com/)–
   [https://wordpress.org/gutenberg/handbook/reference/faq/](https://wordpress.org/gutenberg/handbook/reference/faq/)–
   [https://www.wpbeginner.com/beginners-guide/how-to-use-the-new-wordpress-block-editor/](https://www.wpbeginner.com/beginners-guide/how-to-use-the-new-wordpress-block-editor/)–
   [https://www.wpbeginner.com/beginners-guide/common-gutenberg-questions-answered/](https://www.wpbeginner.com/beginners-guide/common-gutenberg-questions-answered/)
 *  Thread Starter [focksbot](https://wordpress.org/support/users/focksbot/)
 * (@focksbot)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-code-editor-is-simply-broken/#post-11226974)
 * Thanks for the links.
 * I’ve gone through some of these articles/manuals and searched in them for the
   word ‘code’ – I can’t find any explanation for why the Gutenberg code editor 
   insists on inserting its own code, and I strongly suspect I’m not going to find
   any, because this is a bug, rather than a feature.
    -  This reply was modified 7 years, 5 months ago by [focksbot](https://wordpress.org/support/users/focksbot/).
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-code-editor-is-simply-broken/#post-11227638)
 * If you could give details of what it is doing and some HTML for a good test case,
   it could help to get the bug fixed.
    [https://github.com/WordPress/gutenberg/issues/](https://github.com/WordPress/gutenberg/issues/)

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

The topic ‘Gutenberg code editor is simply broken’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/gutenberg-code-editor-is-simply-broken/#post-11227638)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
