Ionaru / Ionaru/easy-markdown-editor
imagesPreviewHandler
Open
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
### I'm submitting a...
- [x] Bug report
### 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
Contributor guide
Assessment
This issue has not been assessed yet.