Ionaru / Ionaru/easy-markdown-editor

How do you use the 'imageUploadFunction' config?

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

Hey there :)

I am trying to enable dragging and dropping images into the MDE, to eventually store them. I don't want to specify an end point yet. I want to use a custom function to deal with the uploaded image(s), and then later push them to the backend.

Is there an example of how to use 'imageUploadFunction'. How can you get the image and save it in an array for example? (take the image object and save it in an array).

Thank-you :)
Maddy

Contributor guide

Open the contributing guide

Research direction

Start by locating the imageUploadFunction configuration and any existing documentation or examples for it. Clarify how the uploaded image is provided to the custom function and document an example showing how it can be retained for later backend storage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.