2015-09-14, 04:52:32
HOW TO CHANGE DEFAULT EDITOR FONT SIZE
I worked through the gsconfig.php again to edit the default editor font-size. The editor options in gsconfig still do not seem to work as advertise.
This is what worked to set a new editor default font-size:
---
Hello,
I cannot increase the default font size in the WYSIWYG/Source Editor.
I have also found that the advanced editor font defaults are not set in gsconfig.php
This is what I have done.
gsconfig.php
I tried changing the Editor option for just the font size:
This did not work. I check this with the WYSIWYG toolbar "advanced" enabled and disabled.
The Default Font Label Code in the Wiki doesn't work out of the box either:
http://get-simple.info/wiki/how_to:edito...or_options
WYSIWYG advanced toolbar does engage when the option is selected with no Editor Options. With the 'v2' skin, the body of the editor disappears. Changing the skin to 'getsimple' gets back the body, but still no font defaults.
ckeditor
Edited the .css files skins in ckeditor-skins-getsimple. Did not work.
Editing the content.css file in ckeditor. Did not work.
On some of these attempts (gsconfig), I can see a larger font, but it keeps on going back to the default. Somewhere, the values seem to be getting overwritten to a default. Any ideas where/what file is controlling the font?
Thanks,
Patrick
I worked through the gsconfig.php again to edit the default editor font-size. The editor options in gsconfig still do not seem to work as advertise.
This is what worked to set a new editor default font-size:
- Open admin>template>js>ckeditor>contents.css
- Find and then edit "font-size:" to what you'd like.
- Save contents.css
- Refresh.
---
Hello,
I cannot increase the default font size in the WYSIWYG/Source Editor.
I have also found that the advanced editor font defaults are not set in gsconfig.php
This is what I have done.
gsconfig.php
I tried changing the Editor option for just the font size:
Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS',
"fontSize_defaultLabel : '14px' ");
This did not work. I check this with the WYSIWYG toolbar "advanced" enabled and disabled.
The Default Font Label Code in the Wiki doesn't work out of the box either:
http://get-simple.info/wiki/how_to:edito...or_options
Code:
# WYSIWYG Editor Options
define('GSEDITOROPTIONS',"skin : 'v2',
enterMode: CKEDITOR.ENTER_P,
shiftEnterMode : CKEDITOR.ENTER_BR,
fontSize_defaultLabel : '11px',
font_defaultLabel : 'Arial',
font_names : 'Arial;Times New Roman;Verdana'
");
WYSIWYG advanced toolbar does engage when the option is selected with no Editor Options. With the 'v2' skin, the body of the editor disappears. Changing the skin to 'getsimple' gets back the body, but still no font defaults.
ckeditor
Edited the .css files skins in ckeditor-skins-getsimple. Did not work.
Editing the content.css file in ckeditor. Did not work.
On some of these attempts (gsconfig), I can see a larger font, but it keeps on going back to the default. Somewhere, the values seem to be getting overwritten to a default. Any ideas where/what file is controlling the font?
Thanks,
Patrick