Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.45k stars 319 forks source link

Upload image keeps throwing an error #200

Open pylenin opened 4 years ago

pylenin commented 4 years ago

Describe the bug UploadImage=true keeps throwing an error Capture

This is how I instantiate easy MDE.

var easyMDE = new EasyMDE({
    autofocus: true,
    autorefresh: true,
    spellChecker: false,
    minHeight: '180px',
    uploadImage:true,
});
Ionaru commented 4 years ago

The uploadImage option needs to be used in combination with imageUploadEndpoint for the upload functionality to work.