Closed jigglyjams closed 10 months ago
currently we are using tinyMCE which outputs its content in HTML which we them have to convert to markdown
this leads to many issues like having html tags inserted into the content unintentionally
must have:
Lets explore some other markdown editors:
https://simplemde.com/ (6 years old but looks good) --> react wrapper: https://github.com/RIP21/react-simplemde-editor
https://github.com/portive/wysimark: had to edit webpack config to get it to import correctly
webpack: (config) => { // Add the alias for @wysimark/react to use the ESM version config.resolve.alias['@wysimark/react'] = path.resolve(__dirname, 'node_modules/@wysimark/react/.dist/node/index.esm.js'); return config; },
preview
https://stackedit.io
https://github.com/outline/rich-markdown-editor (archived by Outline, a notion alt, but could be good)
Fork things from jbm editor: https://github.com/jbx-protocol/juice-interface/blob/a96086a69ab1c97bb4682fa6d8bf734f1d204561/src/components/Markdown/MarkdownEditor.tsx#L23
https://mdxeditor.dev
https://github.com/Milkdown/milkdown
https://github.com/microvoid/marktion
https://github.com/remirror/remirror
list of many: https://github.com/JefMari/awesome-wysiwyg-editors (thanks filipv)
Milkdown integration TODOs:
working PR: https://github.com/nance-eth/nance-interface/pull/112
https://github.com/nance-eth/nance-interface/commit/e83c4df7c03dcb8d5b31b94ac40cf247ed579fda
currently we are using tinyMCE which outputs its content in HTML which we them have to convert to markdown
this leads to many issues like having html tags inserted into the content unintentionally
must have:
Lets explore some other markdown editors:
https://simplemde.com/ (6 years old but looks good) --> react wrapper: https://github.com/RIP21/react-simplemde-editor
https://github.com/portive/wysimark: had to edit webpack config to get it to import correctly
preview
https://stackedit.io
https://github.com/outline/rich-markdown-editor (archived by Outline, a notion alt, but could be good)
Fork things from jbm editor: https://github.com/jbx-protocol/juice-interface/blob/a96086a69ab1c97bb4682fa6d8bf734f1d204561/src/components/Markdown/MarkdownEditor.tsx#L23
https://mdxeditor.dev
https://github.com/Milkdown/milkdown
https://github.com/microvoid/marktion
https://github.com/remirror/remirror
list of many: https://github.com/JefMari/awesome-wysiwyg-editors (thanks filipv)