Closed stebanos closed 6 years ago
I tried integrating CodeMirror to the editor, but didn't make any difference, just added display : none;
property to the textarea
.
But I did the same to some other html
file with a textarea
and it worked.
My best guess is that rendering the editor like this interferes with how CodeMirror functions.
Actually we use Preact + CodeMirror in another project as well.
Okay I get it now what I was doing wrong :sweat_smile:
The error messages often show that there's an error in a particular line number but we don't have numbered lines. An editor like CodeMirror will help.