• Resolved ronisbr

    (@ronisbr)


    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:

    View post on imgur.com

    If I turn off and on the word-wrap option, or just delete the last character, then the width changes to the correct size.

    • This topic was modified 6 years, 1 month ago by ronisbr.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author maximebj

    (@maximebj)

    Hi!

    I’ve already seen this but when I save the post and reload page it’s gone.

    But it needs investigations, I’ll take a look ah this !

    Plugin Author maximebj

    (@maximebj)

    I still has the issue sometimes but it’s only on backend.

    But for now I’m unable to fix this for good. I’m closing this issue, but it’s on my roadmap to find a true fix for that !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Word-wrap problem in Code block’ is closed to new replies.