SEQAQ / qaq-react

💡 QAQ Frontend: A university QA community
https://www.uniqaq.tk
2 stars 0 forks source link

[RFC] About the Rich Text Editor #13

Closed SeanChao closed 4 years ago

SeanChao commented 4 years ago

I've searched some open source projects:

Draft.js A rich-text editor, as with this markdown extension to serialize/deserialize in to markdown

rich-markdown-editor A rich-text editor with built-in markdown support, but the user cannot edit md source code

Which one to use? I suggest Draft.js because we can allow the user to edit raw md source code.

Relating to #6

sdjn-wxy commented 4 years ago

I prefer Draft.js as you have pointed out that it allows user to edit raw code,

which provide more space for user to edit their questions and answers.

SeanChao commented 4 years ago

I'm working on building a markdown/richtext editor upon draft.js