Support » Fixing WordPress » An option to stop Gutenberg to break code

  • Hi guys, I’m trying to force myself to use Gutenberg but I feel it very hard.
    I understand bugs (like lots of undeletable line separator when converting old articles in blocks) but there’s one thing I can’t really understand:

    Why does Gutenberg keeps on breaking my blocks, especially HTML ones?

    I write some code, save it then leave the article. Next time I return it says that the block has something wrong and I have two options: fix it or convert to HTML.

    Fixing it, it breaks it 99% of the times (like having some shortcodes* for footnotes or so) so I choose “convert to HTML”. I save it and leave the article.

    Then I return and guess what? it says the block has something wrong and still “fix or convert”. Why can’t it leave it alone, especially if it converted it to HTML once? The code is correct, I work with HTML so I’m sure there are no problems (and the article is ok on the site).

    If I switch to the old classic editor everything is ok. WP doesn’t try to break or change my code.

    Is it a bug or something intended?

    Thanks.

    * I know there’s a specific block for shortcodes, but it gives 500% the problems the HTML code does so I prefer not to use it.

    • This topic was modified 1 year, 4 months ago by locksoft.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘An option to stop Gutenberg to break code’ is closed to new replies.