I found how to add some (websafe) fonts to the editor, and also I change font-size options from 'x-small', 'small' to 'px'. In the original settings, font sizes render different in IE and Firefox and we don't want that.
2 files to change (update to your needs):
fckeditor/fckconfig.js
and
fckeditor/custom_configurations/fckconfig_cmsimple.js
search for (identical for both files)
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
and replace by
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana;Georgia;Impact' ;
FCKConfig.FontSizes = '9px;11px;12px;14px;18px;24px;36px' ;
FCK-Editor add fonts and change font size
Re: FCK-Editor add fonts and change font size
Hi Nicky,
Holger
It's enough to do all custom changes in the files located at the folder fckeditor/custom_configurations/Nicky wrote:2 files to change (update to your needs):
Holger
Re: FCK-Editor add fonts and change font size
Hi Nicky,
that is it where I am searching for. Many thanks.
A question to Holger and the Team: Can anyone explain to me, why in the Standard-Implementation of FCKEdit smaller;larger etc is used and not 8px, 12px etc.
I think, the users know the px from MS-Word. My user (and I) where confused by the names larger etc. Is there any reason for that?
phg
that is it where I am searching for. Many thanks.
A question to Holger and the Team: Can anyone explain to me, why in the Standard-Implementation of FCKEdit smaller;larger etc is used and not 8px, 12px etc.
I think, the users know the px from MS-Word. My user (and I) where confused by the names larger etc. Is there any reason for that?
phg
Re: FCK-Editor add fonts and change font size
Hi Horst,phg wrote:A question to Holger and the Team: Can anyone explain to me, why in the Standard-Implementation of FCKEdit smaller;larger etc is used and not 8px, 12px etc.
That's just the default setting, coming with the download of a clean FCKeditor from their website.
To be honest, I've never thought about changing it by default. For me it was clear how to do this...
Maybe it's a good idea to change it in a future download.
By this way we can add some settings with "em" too. So it should fit the needs of most of the users.
Holger
Re: FCK-Editor add fonts and change font size
IMHO the "em" settings should become the standard also in stylesheet.css, even with some reccommendation to keep this standard in one's own templates. The values small, large etc. do not explain enough what the real sizes will be. The numeric values seem more explanatory to me.Holger wrote:Maybe it's a good idea to change it in a future download.
By this way we can add some settings with "em" too. So it should fit the needs of most of the users.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: FCK-Editor add fonts and change font size
Hello Julia,
<DEL>I'm not aware of the concept of different kinds of users (e.g. manager users) and a plugin manager in CMSimple. Are you asking about CMS Made Simple, or another CMS?</DEL>
<ADD>Argh -- fallen to a spammer </ADD>
Christoph
<DEL>I'm not aware of the concept of different kinds of users (e.g. manager users) and a plugin manager in CMSimple. Are you asking about CMS Made Simple, or another CMS?</DEL>
<ADD>Argh -- fallen to a spammer </ADD>
Christoph
Christoph M. Becker – Plugins for CMSimple_XH