Posted on 10/03/2021 18:08:48
Hi Nicolai
We have been trying to find the cause of the custom fonts.css not being loaded in the editor but couldn't yet find the problem.
Setting the absolute path config.contentsCss = 'http://dev-ray.dw-demo.com/Files/System/Editor/ckeditor/fonts.css'; or the relative path: config.contentsCss = '/Files/System/Editor/ckeditor/fonts.css'; does not work.
It seems the default.js file is being called from the ckeditor.js using 'CKEDITOR.config.templates_files=[CKEDITOR.getUrl("plugins/templates/templates/default.js")]'; but this file lives under https://dev-ray.dw-demo.com/Admin/Editor/ckeditor/ckeditor/ckeditor.js and it seems we can't get anything into the AdminEditor/ckeditor folder...that's probably where our fonts.css should live?
We appreciate anyones help