Twiebie |
|
---|---|
How I can change the default font of the editor itself from Times New Roman to for example Verdana?
|
Trustmaster |
|
---|---|
You should modify plugins/ckeditor/lib/contents.css and set the font there like * { font: Your Font Here } May the Source be with you!
|
Twiebie |
|
---|---|
Hmm, tried that but i'm still getting Times New Roman in the editor..
|
urlkiller |
|
---|---|
* { font: Your Font Here !IMPORTANT} mybe?
URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>
|
Twiebie |
|
---|---|
Nope, doesn't work..
Nothing I put in the plugins/ckeditor/lib/contents.css does anything really..
Added 5 hours later: Problem solved by including a style with config.contentsCss = 'ckstyle.css'; |
|
This post was edited by Twiebie (2011-07-08 00:20, 13 years ago) |
urlkiller |
|
---|---|
to be true i had my fair wrestling with that ckedit styling too...
can you post your css file?
URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>
|
Twiebie |
|
---|---|
#30116 urlkiller: body { font: normal 12px/18px "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; color: #303030; background-color:#FFF; } I've included that stylesheet from the ckeditor root folder in config.js with: config.contentsCss = 'ckstyle.css'; |