Word-wrap problem in Code block
-
Hi!
This new version is really awesome, fixed a lot of issues ??
However, I am having another problem related to the word-wrap option. I change my default
wp-block
width by the following code:.wp-block { max-width: 800px; }
and I am also using the following settings of CodeMirror (otherwise, I got that bug related to line-height):
.CodeMirror pre { margin: 0; padding: 0 0 0 5px; border: none; }
However, the plugin in Guttemberg seems to be considering the original width of wp-block to compute the block height when word-wrapping is on. Take a look to what I see when I open a post:
If I turn off and on the word-wrap option, or just delete the last character, then the width changes to the correct size.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Word-wrap problem in Code block’ is closed to new replies.