Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Plugins by

I am testing my q2a site and I realized that I am not able to upload an image using the markdown editor. It is only possible to include a link to the image. I searched here and I found this http://www.question2answer.org/qa/19686/add-an-image-upload-button-in-markdown-editor?show=25789#a25789

However, this is a kind of old. Furthermore, Scott suggests that Q2A 1.6 will deal with this. Is there a Q2A solution for it?


Q2A version: 1.7.0

1 Answer

+4 votes
edited by
Best answer

This is a very related question: http://question2answer.org/qa/44162 . Read that one first and then read the rest of this post :)

Q2A is able to handle file uploads. Editors generate the HTML for posts that link to the uploaded files. Q2A editor plugins provide the interface for the particular editor to use the already existing Q2A file upload features (backend). The editor should also provide a user interface component (frontend) so that the user is able to add a file so that it can be processed by the backend.

I took a glance at the markdown editor plugin and it seems not to have the backend component so it makes sense it doesn't have the frontend either. Those features should be part of the markdown editor rather than Q2A itself. Maybe Scott, the plugin developer, can shed some light on the roadmap of the plugin and see if those features will or won't be added soon.

Edit: I just noticed someone forked Scott's project on GitHub and added this feature! https://github.com/bvassy/q2a-markdown-editor

As of version Q&A 1.7.3, the bvassy fork does not work anymore.
Is there any reason Q2A still uploads to DB, and not directly to Server?