Try our conversational search powered by Generative AI!

Applying custom CSS styles in the Image Editor

Vote:
 

How do I get my custom CSS styles to be shown in the "CSS Class" dropdown list in the Image Editor? Anyone?

Thanks!

#37123
Feb 22, 2010 9:37
Vote:
 
#37127
Feb 22, 2010 11:07
Vote:
 

If you in your editor.css add css classes like:

img.myImageClass {
   EditMenuName: Whatever;
   ...
}

they will automatically show up in the CSS class dropdown in the image editor.

/Best regards
Henrik Tengelin
EPiServer Developer Team

#37136
Edited, Feb 22, 2010 13:12
Vote:
 

Thanks, that worked!

#37143
Feb 22, 2010 14:47
Vote:
 

The style shows in the XHTML editor dropdown but not the Image Editor CSS drop down when setting image properties. Is there something else I need to enable or perhaps use a different declaration format in the CSS file?

#47731
Feb 10, 2011 16:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.