Hi all...
My need is to start the fckeditor with these settings already set...
Font Size (x-small)
Font face (verdana)
Text-align(justify)
surfing the docs I have only found how to configure the combos on the toolbar. Thi si to say: I can show only "x-small" on the font size combo, but whe the editor loads it use the default size. i can't manage to find where these defaults (init) settings might be changed...
Thanks in advance
Regards!
Adriano
My need is to start the fckeditor with these settings already set...
Font Size (x-small)
Font face (verdana)
Text-align(justify)
surfing the docs I have only found how to configure the combos on the toolbar. Thi si to say: I can show only "x-small" on the font size combo, but whe the editor loads it use the default size. i can't manage to find where these defaults (init) settings might be changed...
Thanks in advance
Regards!
Adriano
Re: How to set initial Font and other settings...?
Re: How to set initial Font and other settings...?
Re: How to set initial Font and other settings...?
1) Created a very simple css file. I called it myfckcss.css. I placed it in Joomla_Dir/plugins/editors/fckeditor/editor/css
2) In the Joomla Administration choose "Extensions" -> "Plugin Manager"
3) Select "editors" as the type and click on "Editor-Joomla FCK"
4) Under "Plugin Parameters", you will see "Use Custom CSS Clases". In this text box, enter the path (not including the Joomla_Dir) to your custom css file. In my case it is " "plugins/editors/fckeditor/editor/css/myfckcss.css"
My simple css looks like this
I hope this helps.
Richard
Re: How to set initial Font and other settings...?
On line 30 of FCKconfig.js -> FCKConfig.EditorAreaCSS = '/css/styles.css' ;
On the css -> body { text-align: justify; font-size:11px; font-family: Verdana, Arial, Helvetica, sans-serif; line-height:130%; }
And that was it.
Regards