Ionaru / Ionaru/easy-markdown-editor

imagesPreviewHandler

Open
#504 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.