Project

General

Profile

Actions

Feature #26071

closed

Generate markup for uploaded image dropped into wiki-edit textarea

Added by Felix Gliesche over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

As it is already possible to upload files by using drag n drop, it'd be a great UI improvement to immediately generate the markup for an image when dragged into a textarea. We have seen this feature at github and think it would be a great UI improvement to redmine. For example, if you drag an image into an issue's description field you'll get !image.png! (if formatting is set to textile) or ![](image.jpg) (if formatting is set to markdown) at the current cursor position.

I am attaching a patch that introduces this feature into redmine. Allowed are all image file types that are listed in redmine's mime_types. The behavior remains the same for all other file types / non-image file types.


Files


Related issues

Related to Redmine - Defect #10189: Inline image does not work with spaces in file nameNew

Actions
Related to Redmine - Feature #17438: Support embedding images/files in issue descriptionClosed

Actions
Related to Redmine - Patch #26682: URL-escape the ! character in generated markup for dropped uploadsClosedJean-Philippe Lang

Actions
Related to Redmine - Feature #7979: Automatically show attached images in-lineClosed2011-03-24

Actions
Related to Redmine - Patch #31169: Wiki syntax help for document image pasting and drag/drop embeddingClosedGo MAEDA

Actions
Has duplicate Redmine - Feature #4491: Direct Image Upload in ForumClosed2009-12-27

Actions
Actions

Also available in: Atom PDF