I need to customize the default behavior of CKEditor. I have used the below code in a non-autogenerated section and included in the section where the CKEditor is launched. I added this in UserWorkForm also. But I was not able to find the CKEditor object though the CKEditor is opened on my screen. I tried with many different options. Let me know if I am missing something. Pega version: 7.2.1
CKEditor is a third party plugin, Pega doesn't recommend the way to modify/override the default changes. you can override the pzpega_ckeditor_contents.css default font else make a private edit of pzpega_ckeditor_extras.js to apply your logic as shown in the attachment.
Try below local change in user work form: <script> window.customCKEditorFonts = "Arial"; </script>