Ionaru / Ionaru/easy-markdown-editor
Image links should be https by default
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
When you upload an image, all image links are created as http instead of https. I feel that the code should be https links by default since it's now standard for any website to be using SSL.
**Describe the solution you'd like**
Change the links that get returned to be https instead of http. If needed, add another option (imageSSL) to allow the user to get http links instead of https links.
**Describe alternatives you've considered**
Maybe setting imageUploadFunction with my own custom function? I'm not sure if this would work.
**Additional context**
change

Contributor guide
Research direction
Start by tracing the imageUploadFunction and the code that formats returned image links. Verify where HTTP URLs are produced and update the behavior so generated links use HTTPS by default, with an HTTP option only if the existing API supports it; confirm the returned Markdown link uses the expected scheme.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100