kadikraman / draftjs-md-converter

Converts content from Draft.js blocks to Markdown and vice versa.
https://kadikraman.github.io/draftjs-md-converter/
MIT License
145 stars 37 forks source link

cannot enter [ ] in the text #64

Open WendyZhang05 opened 4 years ago

WendyZhang05 commented 4 years ago

Hi, I tried to use your library to save text in richtexteditor as markdown. One thing I realize is I cannot enter bracket "[ ]" in the editor. If I do that and save the content in RichtextEditor, those brackets will be automatically removed. For example, " [OMIM # 111111]" will be saved as "OMIM# 111111". I see brackets probably be reserved for URL markdown, but that should be double brackets. Is there a way I can save single brackets as the value of richtexteditor