I found this answer Default font for Rich Text field but it doesn't help me. I need to be able to set it in the application as this is an XPiNC (Xpages in Notes Client for those reading this in the CKEditor forum) app and I have no control over what is on the system beyond IBM Notes 8.5.3FP4. Because the config.js is server side for the CKEditor, I need to do this in the code or css somehow.
Is this even possible?
Knut's solutions works great except you have to use
​
instead of­
as you lose the font styling when clicking into the field and start typing.Add the following script block to your XPage. It will set the initial font and text size in CKEditor field.
The trick is to set an initial value to field with a style when field is empty.
(Unfortunately, all attempts to set
config.font_defaultLabel
andconfig.fontSize_defaultLabel
don't work like:)