Suggestion: word wrap option
-
It would be nice to have an option in the code block settings to indicate that you want the code inside the block and wrap over different lines.
I have now added a class in my custom css but an option would be easier for some editors.This is my custom css:
.melonpan_code_wrap code {
white-space: pre-wrap;
}And I add melonpan_code_wrap class to the block in the Gutenberg settings.
This seems to work fine. Thanks for considering the change.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Suggestion: word wrap option’ is closed to new replies.