WYHNUS / ExchangeBuddy

Find your exchange buddies!
5 stars 0 forks source link

Better Journal Editor compatible with React #23

Open WYHNUS opened 7 years ago

WYHNUS commented 7 years ago

For now, we are using react-tinymce library to facilitate user posting/editing journals. However, the UI is not very satisfactory and image uploading from local directory is not supported (maybe existing third party plugins for tinymce exits though...)

A better choice could be medium-editor-insert-plugin. However, Webpack seems unable to load this library (after many hours of struggling...) and the workaround could be either providing a CDN for this library (which is not supported for now) or write a React-wrapper for it (existing ones are no longer maintained).

irvinlim commented 7 years ago

I think the best choice that I have found after much research would be draft-wysiwyg. See a demo here.

@WYHNUS Thoughts?

irvinlim commented 7 years ago

Actually.. Just realised it's not markdown, and also the images are base64 encoded. Will get back if I find alternatives.