Posted by geerlingguy on February 25, 2010 at 3:59pm
3 followers
Jump to:
| Project: | Image Caption |
| Version: | 6.x-2.5 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Is it possible to use this module with Insert? I can have insert put a class "caption" on the image as it is placed into the wysiwyg text field, but I don't know how to get Image Caption to run the javascript to pull the title text (or, in my case, I switched it to use the Alt text) and make the image caption. I've edited my editor.css file to include an empty .caption class as well...
Comments
#1
Hmm... I got it to work with Insert; however, is it possible to display the caption while viewing the page in the editor, for instance, after you click 'Insert,' the caption and the related divs would be added automatically?
#2
Interested in this functionality, too.
#3
It is already possible. In the Node-Type Insert section there is a input field "Additional CSS classes: " When I put the class there in, it works.
#4
Yes, but you don't actually see the caption class applied via javascript in the wysiwyg editor; you need to first save the page, then you'll see the caption...