Font Color in Editor (FCK)

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
11/1/2007 10:20:19 PM
Gravatar
Total Posts 180
Thomas F. Heringer

Font Color in Editor (FCK)

Joe, I am going to add another comment in the form of a question. How do you change the color of the font in the FCK editor? Currently it is black on dark blue on my monitor using XP and my host is christianasp so you can have some idea of where I am at. I have checked all the css files including the one for blogs and have found no place to change the editor color for fonts.

11/2/2007 7:41:08 AM
Gravatar
Total Posts 18439

Re: Font Color in Editor (FCK)

In mojoPortal it is preferable to set colors for everything using css. The style-colors.css file in your skin folder is the one that has most color settings. The editor includes this css so things should look the same in the editor as they do on the page. The editor also has a toolbar item that allows you to select some text and set the color but I recommend not doing that because later if you change your skin it will not match.

Joe

8/13/2009 9:59:53 AM
Gravatar
Total Posts 13

Re: Font Color in Editor (FCK)

 Hi, sure, Joe, its great to manage styles from css files, but, very oftnen there are cases in which a user without css knowledge wants to update a page using some style attributes and then what? :)

 

Thanks 

Giorgi

8/13/2009 10:07:26 AM
Gravatar
Total Posts 18439

Re: Font Color in Editor (FCK)

Please see the FAQ page entry about this. Its possible for you to use a custom config file for FCKeditor to include fonts and colors in your toolbar. But someday you will regret it when you want to redesign a skin but you have hard coded styles in your content that isn't skinnable.

Hope it helps,

Joe

8/13/2009 12:12:19 PM
Gravatar
Total Posts 13

Re: Font Color in Editor (FCK)

Thanks, Joe

I read Customizing the FCKeditor Toolbars and after that I added these entries - ['Style', 'FontFormat', 'FontName', 'FontSize'],
['TextColor', 'BGColor'] to FCKConfig.ToolbarSets["FullWithTemplates"] (It seems to me that this set is used when editing HTML content), but that's not enough, right? What should I do then?

Regards

Giorgi 

8/13/2009 3:06:09 PM
Gravatar
Total Posts 18439

Re: Font Color in Editor (FCK)

Well if you edited mojofckconfig.js instead of creating a custom file you probably need to clear your browser cache. Best if you create a copy of the file with a different name and put the setting in your user.config to point to your file. 

8/13/2009 4:41:20 PM
Gravatar
Total Posts 13

Re: Font Color in Editor (FCK)

Thanks, Joe, my last question was completely odd, I shoud guess it myself :) Now everything's working fine.

All the best

Giorgi

You must sign in to post in the forums. This thread is closed to new posts.