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
Post a Comment