Skip to content


CodeMirror behaving strangely in Firefox #66

silverwind opened this Issue · 1 comment

2 participants


Quite puzzled at how this can happen, but try selecting some text in Firefox, it starts randomly deleting whitespace. Also, I noticed that sometimes when you enter the editor, no text is shown until you select something or switch the color scheme.


When you enter the editor and no text is shown, which I know exactly what you mean, it is usually caused by CodeMirror being loaded in a height:0 element. A quick fix might be to use editor.update() on a time out after animation.

Now noticing strange behavior in FF; very strange; investigating.

@ZombieHippie ZombieHippie referenced this issue from a commit
@silverwind Styling fixes 718d630
@ZombieHippie ZombieHippie closed this issue from a commit
@ZombieHippie ZombieHippie Fix #66 4a190e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.