• Dylan

    (@thebonereader)


    I am DEEPLY disappointed with the Gutenberg Code Editor at present.

    Having just entered a very simple structure with a few divs and some unsplash images, I was utterly shocked to see that Gutenberg has completely re-written my code. This goes WAY beyond a few opinionated changes meant to nudge devs work towards modern semantics. My code – as simple as is was – is completely unrecognizable: divs removed (?!?!?!), anchors replaced with figures, unnecessary and unwanted classes added to my images.

    I don’t suppose it’s occurred to the Gutenberg team that people may have previously written code libraries that are intended to be reusable and by imposing these sorts of structural and stylistic changes, they are completely breaking it?

    A code editor is intended to be a functional thing. Instead of imposing yourselves on my code, how about addressing the simple and obvious things that we all need in a code editor such as line numbers. Syntax highlighting. How about ridding us of the blinding white user interface and coming up with something that doesn’t cause immediate eye fatigue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Some very obvious points about the lack of coders tools that generally get overlooked in WordPress. Yes there is code mirror but it is only available for files in the theme etc., not in the actual editor where work get done. Adding an improved code mirror to the text tab in the current editor (with, code completion, formatting wiht proper indentations, and dark mode) would have gone a long way to improving TinyMCE.

    Yes we need aspects of Gutenberg but some very obvious things that blocks should do are being overlooked; a structured box model (sections/rows/columns) that page builders could hook into.

    Plugin Author Tammie Lister

    (@karmatosed)

    Thanks for taking the time to leave a review @thebonereader. There is a code view option for Gutenberg and from what you are trying to do that seems to me on surface maybe a better option. You can add code via a block itself or just via the global code option for the entire editor.

    I wanted to ask you a little about your comment about eye fatigue, which is a really valid comment. There is a plugin to have a dark mode for WordPress. With this, it would also apply to Gutenberg. https://en-gb.wordpress.org/plugins/dark-mode/

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

The topic ‘DEEPLY disappointed with Gutenberg Code Editor’ is closed to new replies.