Ionaru / Ionaru/easy-markdown-editor

Allow .iix file type for images if .iix is in the imageAccept property

Open
#575 1 comment 0 reactions 0 assignees View on GitHub
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.**
I am using EasyMDE with ServiceNow and images are stored at paths ending with .iix.
EasyMDE is interpreting these as links.
I understand .iix is not necessarily an image, but in this case I am also explicitly using the "Import an Image" action and I have added image/iix to the imageAccept property of the editor.

**Describe the solution you'd like**
EasyMDE to process .iix link paths as images if .iix is in the imageAccept property

**Describe alternatives you've considered**
There are alternatives in ServiceNow like creating an endpoint that converts requests for /abc.png to /abc.iix and return the result.

**Additional context**
N/A

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the Import an Image action uses the imageAccept property and how EasyMDE distinguishes image paths from links. Verify the behavior with a path ending in .iix and image/iix in imageAccept; done means that path is processed as an image rather than a link.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.