Answer the question
In order to leave comments, you need to log in
How to upload an image and paste the MarkDown code from the URL at the end of the textarea?
Firework!
There is input type="file" and textarea . The task is to upload an image to the server (without reloading the page, there is a PHP loader) and insert the MarkDown code ![Image.](/url/img.png) (together with the image URL) at the end of the textarea (preserving the previously written text). Is there any solution in JavaScript for example?
Thank you in advance for your help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question