Gutenberg
Insights into WordPress’ block editor. Learn how to build custom Gutenberg blocks, block patterns, and more.
-
WordPress’ core code block does not wrap text. This is ok most of the time but sometimes it’s nice for long lines to wrap. We could set white space to pre-wrap on .wp-block-code > code but this will affect all code blocks. Let’s create a… Read More