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.32k stars 308 forks source link

imagesPreviewHandler #504

Open absinghal opened 1 year ago

absinghal commented 1 year ago

I'm submitting a...

Reproduction steps

Using the following code during EasyMDE init: imagesPreviewHandler: (path) => "/frmContentPage/Asset/" + path + location.search,

Alternate syntax was also tried: imagesPreviewHandler: (path) => { var path2 = "/frmContentPage/Asset/" + path + location.search; return path2; }

Above seems to be having no effect, as the end point is not being hit.

Kindly advise asap.

Version information

Browser type and version: Chrome EasyMDE version: v2.18.0