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 -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -