View Full Version : Add my styles to dropdown without HTMLEditor?
andrea396181
01-18-2010, 03:24 PM
I've seen other threads on this, but they all refer to HTMLEditor, which I don't have. Is there a way to tweak a setting within individual files that will allow my styles (h1, h2, etc.) to appear in the editor dropdown? Right now all I'm getting is "Red Title"...and I'm fairly certain I'm not going to want my clients to use that one in my lovely designs.
Thanks so much!
shadow329043
01-18-2010, 03:44 PM
You can always edit the CSS file to create your own styles
andrea396181
01-18-2010, 03:46 PM
Thanks, but I'm not sure which css file that would be. I have the one I built for the site, but I'm not sure how to get those styles to appear in the editor's dropdown.
Jimmy Wu
01-19-2010, 12:15 PM
You can put in custom styles into the editor by going to the HTMLEditor folder and opening the fckconfig.js file. You can add styles here:
FCKConfig.CustomStyles =
{
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }
};
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.