[ 
https://issues.apache.org/jira/browse/JSPWIKI-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134723#comment-18134723
 ] 

Arturo Bernal commented on JSPWIKI-1209:
----------------------------------------

Checked in the code of master. The editor does accept drops: Wiki.Edit.js gives 
the editor a handler, processDragAndDropData, but it reads only the 
text/uri-list and text/html parts of the dropped data and turns them into wiki 
links or markup. It does not read dropped files, so a file is not uploaded as 
an attachment; uploads go through the Add attachment page, Upload.jsp. Limits: 
I read the code and did not drop a file in a browser. Leaving the issue open as 
a feature request.

> As a user, i'd like to be able to upload a file via drag and drop from the 
> plain text editor
> --------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1209
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1209
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Alex O'Ree
>            Priority: Major
>
> and ideally, auto insert the snippet to show the image or whatever the 
> attachment is where the cursor dropped to



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to