CodeMirror preserve blank lines -


i using codemirror display json, xml , plain text output.

all json , xml. but, plain text output loses blank lines. setting codemirror's mode property null when displaying plain text. there way work-around issue , force codemirror preserve blank lines? don't need other formatting when displaying plain text.

thank you.

marijn right -- issue elsewhere.

some other code doing editor.autoformatrange, removed blank lines. looking it.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -

php - How can I echo out this array? -