[TxMt] Bug when drag and drop of an image file ?

Allan Odgaard allan at macromates.com
Fri Jul 8 06:23:27 UTC 2005


On 07/07/2005, at 15.51, Ned Baldessin wrote:

> If I drag *two* images or more, the error message appears in the alt
> attribute of all elements, except the last one :
> [...]
> Has this bug been identified ?

Ignoring the error message (assuming it's the Toast thing mentioned  
by Paul), but for dragging two images, the current drag command is  
made so that it leaves the alt text selected, after a drop. This  
doesn't work well when dragging multiple files, if you do that a lot,  
you may want to change the drag command.

Go to Window -> Show Bundle Editor.

Unfold the HTML bundle and click the “Insert <img> tag” item (you can  
set filtering above the list to Drag Commands).

In the command shown, replace this bit: alt=\"${0:'"$alt"'}\"
                              with this: alt=\"'"$alt"'\"






More information about the textmate mailing list