topcoder-platform / work-manager

This is the frontend application for creating and managing challenges.
13 stars 48 forks source link

Markdown - Implement drag and drop for images / attachments #1481

Closed jmgasper closed 1 year ago

jmgasper commented 1 year ago

Expected behavior

The user should be able to drag and drop images / attachments and have them display in the rendered spec, similar to what they can do in the forums.

jmgasper commented 1 year ago

@suppermancool - This is now working with images, but not with other file types, like txt or zip files. Is that something we can enable?

suppermancool commented 1 year ago

@jmgasper there is a list of supported files in allowedFileMimeTypeWithExts config. but that config is not in forums-topcoder-editor-plugin code. now i will add txt and zip in supported files

suppermancool commented 1 year ago

@jmgasper done in issue-1481.patch

Commit: 11adadb89ee7728b7f696f49fad6ac8bb2161d1b (develop branch)