How can I add an image tag icon [img][/img]. This would be very nice.

Comments

tcblack’s picture

Assigned: Unassigned » tcblack

there are generalized directions here: http://webschuur.com/node/628
you will need to insert some specific code like the snippet below. If you're looking for bbcode you'll need to change the tags to suit.

'ed_imageinsert' => array(
      'name' => 'Image',
      'prefix' => '<img src="',
      'suffix' => '" />',
      'icon' => $path .'ed_image.png'
    ),

I am working on a sub module to add Image as well as several other tags. As soon as I gain CVS access I'll be submitting quicktagsplus as a contrib module to this one. you can grab a beta from http://stilltruth.com/book/software/drupal-module-contributions/quicktag...

tcblack’s picture

Status: Active » Fixed

quicktagsplus which adds the image tag among others is in CVS.
I will move this to fixed and vote for someone else to close this once it's submitted.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.