dingoblog/dingo

Improve editor

Opened this issue · 8 comments

Currently Dingo uses SimpleMDE as its built-in post editor. However, I would ❤️ to hear your voice about which editor you prefer the most.

To improve the user experience we may also want to implement a drag and drop image upload feature in the editor box.

I really like ProseMirror. It supports normal Markdown editing and WYSIWYG editing, and serializes it all to Markdown when you save it to the server. I'm not sure if it has drag-and-drop image uploads though (although it does support drag-and-drop image embeds from other sites), but I'm sure that feature is available as a plugin.

@bentranter

Great! Let's give ProseMirror a shot.

Thanks!

How about adding the ability to upload a Markdown file off of your local machine? A lot of people have a dedicated Markdown editor, myself included. Should be easy enough to do.

@samdfonseca

Sounds great. We should have a feature like that to make it easier for users who use desktop markdown editors.

Golang newbie here. Want to contribute, can I get this issue? Have mostly expirience with JS (browser and node.js), a little bit with PHP and Java.

@sashashakun

Sure. We appreciate contributions.

For this issue, we are thinking about replacing SimpleMDE with ProseMirror. The front-end code base for the admin dashboard can be found at view/admin/assets.

Thanks!

Will start soon!

Meh, sorry, but I am too busy now, hope to come back to this in few weeks(