muya icon indicating copy to clipboard operation
muya copied to clipboard

Code block language is updated when the user types

Open fxha opened this issue 3 years ago • 2 comments

The code block language is updated when the user types, which result in multiple null pointer exception and type errors.

fxha avatar Feb 05 '22 18:02 fxha

The code block language is updated when the user types, which result in multiple null pointer exception and type errors.

How to reproduce this issue?

Jocs avatar Feb 06 '22 06:02 Jocs

Just type an empty language identifier or garbage text. You also can't unset an identifier and jsasjdaskjd is interpreted as js.

https://user-images.githubusercontent.com/22716132/152682463-aa85771b-c97d-4610-9704-5428b8054571.mp4

fxha avatar Feb 06 '22 13:02 fxha