Hi all,

I'm actually searching a solution for my needs.

When I insert an image I'd like it's automatically place in a div with a specific class.
When you insert an image with FCKEditor, the html code is: < img .... src= "" /> , and in my case I'd like the html code < div class="my_class"> < img .... src= "" /> </ div>

How can I process tou do it ?

Thanks in advance

Comments

jorrit’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

You can try writing your own plugin, either for Drupal or for FCKeditor. In either case it's not really a problem with the FCKeditor plugin.