Hi There.
I need to be able to set the class of an image when inserting the image via the wysiwyg editor.
Tinymce has an option to insert image classes when inserting an image.
I configured that option under the CSS tab of the TinyMCE setting and in the example on the TinyMCE setting page this is working.
But when I insert an image on a real page, the classes field is missing.
I need that class to apply jquery actions to specific images.
Please advice.
Or is there an other methode to let end-user-editors insert classes via the wysiwyg editor ?
TIA
TinyMCE - "CSS classes that can be used for images"not working
-
- Power Poster
- Posts: 484
- Joined: Wed Jan 25, 2006 11:53 am
Re: TinyMCE - "CSS classes that can be used for images"not working
I just tested and it worked fine, so it may be something specific to your site, or the template that page is using. Does it have anything like CGSmartImage or SmartImage processing the {content} block? If you don't see anything obvious, perhaps try creating a very simple page template and a test page to see if it works there.
Not getting the answer you need? CMSMS support options
-
- Power Poster
- Posts: 484
- Joined: Wed Jan 25, 2006 11:53 am
Re: TinyMCE - "CSS classes that can be used for images"not working
Did some testing. It is working when I select Minimal profile in TinyMCE. When I select Advanced Profile, it stops working.
Will do some testen adding plug-ins in the Minimal profile of TinyMCE
Will do some testen adding plug-ins in the Minimal profile of TinyMCE