On Jun 16, 2005, at 21:26, Eric Curtis wrote:
Drag an image file from the drawer into the html file and have the tag, width and height added automaticlly. Ideally the behavior would also put in an alt and have the cursor default to that location as well as a closing / if it is xhtml.
Solutions ?
This should work granted that a) you have the HTML drag command for images, b) you drop the image file in something which has scope text.html, and c) the image dragged has one of these (case sensitive) extensions: png, PNG, jpeg, JPEG, jpg, JPG, gif, GIF.
Naturally everything about it is changable using the bundle editor (it's named drag commands, and you'll find the default one for images dropped in HTML in the HTML bundle).
And it does btw insert with correct size and the alt-argument selected with the filename as default value.