Open mistris opened 3 years ago
@mistris It is difficult to confirm this problem by looking at this alone. I think the code of the markdown-it
parser you are using has changed the behavior of the Editor. The default behavior is retained when you switch from WYSIWYG to Markdown when <br>
is remained in the paragraph. Could you share the example page with something like the CodePen?
Are you using react?
No.
Oh
Describe the bug
I'm using https://github.com/markdown-it/markdown-it-deflist for definition lists. After switching to WYSIWYG and then back to Markdown mode, necessary
<br>
tags are removed and in result definition list can't have multiple lines. But it's not only about definition lists. Anywhere where I want to use<br>
(e.g. inside<p></p>
tags), it's not possible, because they are just removed from markdown after switching to WYSIWYG and then back to Markdown mode.To Reproduce
Term 1
: Definition 1 with lazy continuation.
Another line for this definition.