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

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -

javascript - three.js lot of meshes optimization -