Opened 14 years ago

Closed 9 years ago

#5344 closed enhancement (wontfix)

Add dnd Target Support to Textarea

Reported by: guest Owned by: Eugene Lazutkin
Priority: low Milestone: future
Component: DnD Version: 1.0
Keywords: textarea, dnd Cc: [email protected]
Blocked By: Blocking:

Description (last modified by ben hockey)

I'm not sure how feasible this is but it would be nice to be able to use DnD in tandem with a textarea to drop something onto the textarea and have the text inside the textarea update. Would think this would require having a cursor drawn over the text inside the textarea while you are dragging. I guess a textarea is not a requirement - even if you had a paragraph of text and you were able to drop words on top of the paragraph and have it insert the text where dropped.

Please feel to contact me if you have questions: [email protected]



Change History (6)

comment:1 Changed 14 years ago by guest

One interesting thing is that you can easily do this in two ways from a browser - if you drag the icon the the left of the URL in the URL bar in FF/IE you can drop it into a textarea to paste the URL. You can also highlight some text and drag that into a textarea - so it seems like this shouldn't be too difficult to hook up dnd into a textarea from other dijits (tree nodes come to mind)

comment:2 Changed 13 years ago by Eugene Lazutkin

Milestone: 1.1
Status: newassigned

comment:3 Changed 13 years ago by Eugene Lazutkin

Milestone: 1.11.2

comment:4 Changed 13 years ago by Eugene Lazutkin

Milestone: 1.2future

Moving all open ticketd to the future.

comment:5 Changed 9 years ago by ben hockey

Description: modified (diff)
Keywords: needsreview added
Priority: highlow

i'm trying to identify stale tickets. if there is a need to keep this ticket open, please replace the "needsreview" keyword with "reviewed". if there is no need to keep this ticket open then please close it.

comment:6 Changed 9 years ago by bill

Keywords: needsreview removed
Resolution: wontfix
Status: assignedclosed

This seems really outside the scope of the DnD code, and although an interesting idea, probably not general-purpose enough to add as a feature into dojo or dijit.

Note: See TracTickets for help on using tickets.