I would like to create an editor in CodeMirror that only accepts a singleline of text, but with support for markdown.
So **bold**
, *italics*
, ~~strikethrough~~
would work, but no tables or headings.
Is there a general solution for singleline editor, or should I just remove every \n
from EditorState
?