bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor

Home Page:https://bevacqua.github.io/woofmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switching between WYSIWYG and Markdown mode breaks formating

ItsT-Mo opened this issue · comments

Hey, I found some bugs with the markdown mode.

Bug 1

When marking text as bold in WYSIWYG Mode and then line breaking after it, the text gets rendered correctly. But when switching to markdown mode and back, the text formatting breaks and the * are shown and the text isn't rendered correctly anymore. (In our implementation you can see the * are escaped with \)

Bug 2

When marking text as bold in WYSIWYG mode and then adding text behind it and marking it as regular text, the rendering breaks when switching to markdown mode and back to WYSIWYG mode.

Hi, can you offer a string that can be pasted into the demo code for confirmation of this bug? Thanks!