Hi,

I've installed the lastest CVS version of both tinymce.module and tinymce itself. I've been poking through the javascript trying to find out how to have two functional add image buttons. I would like one to use img_assist and the other to use simply inline images from urls (as in the default tinymce theme). For the life of me, I can't figure it out. The best I've come up with so far is two image buttons on the toolbar, but they both activate img_assist. Any hints or clues would be greatly appreciated.

Comments

mitomac’s picture

Realized I wasn't logged in. And forgot to say 'thanks'. It really is a slick bit of integration.

thanks again,

mitomac

matt westgate’s picture

I'm glad you like it.

I'm not for sure how to create two image buttons. I know what I did was define a new plugin and make sure it gets called when tinymce starts up.

I think this functionality lies outside the scope of this Drupal module.