
I don't always need to see every line of code in a custom HTML block, especially when I'm editing a completely different element. Sometimes I just want to minimize it or limit it to a certain height.
Please consider adding a stretch handle or minimize button.
We might also consider minimizing by default when the block is not focused.
I would 馃憤 the ides of resizing and also minimising by default.
I'm happy to take a crack at this with the new ResizableBox component once #10396 lands.
Thanks @chrisvanpatten!
This issue is a little out of date as we removed CodeMirror from the HTML block in https://github.com/WordPress/gutenberg/pull/10396.
I'll leave this as closed. We can look into further improvements to the HTML block when if we ever re-add syntax highlighting (see https://github.com/WordPress/gutenberg/issues/10423).
Most helpful comment
I'm happy to take a crack at this with the new
ResizableBoxcomponent once #10396 lands.