sparksuite / simplemde-markdown-editor

A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://simplemde.com
MIT License
9.91k stars 1.12k forks source link

Image icon prompts for text input in wrong place #287

Open WesCossick opened 8 years ago

WesCossick commented 8 years ago

The image icon prompts for the user to add input between ![ and ](http://).

Should be between ![](http:// and ).

jonatanklosko commented 8 years ago

What about links, it's not consistent as they prompt for the description first, between [ and ](http://) (it makes sense both for links and images when we prompt for URLs). Which behavior is the preferred one?

Hum4n01d commented 8 years ago

Also, when I paste a link, it almost always already had the http:// and so I always end up removing the default text

TangentFoxy commented 8 years ago

@jonatanklosko The difference is that a link is expected to have text defining it, for an image, it is optional, and most people skip it.