Ck editor 5 how to configure it in an existing project

System Information
  • **Strapi Versionv4.10.2:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Following git here: GitHub - nshenderov/strapi-plugin-ckeditor: Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Unofficial integration) where do I put the ckeditor configuration file in my project, or how do I change its settings, I wanted to change a few things, remove some icons and that the theme is always light, It is already installed and running in production


@ Renan_da_Rocha

Did you manage to find out what to do with ckeditor.js configuration file?
I have a Strapi 5 Typescript project and my issue is the following.
I managed to create a ckeditor.js in config folder that works fine in development mode. However a js file doesn’t get copied to the dist folder when you build Strapi in production mode. To solve this, I tried to create a ckeditor.ts Typescript file. Documentation of the plugin says that ckeditor.js or ts could be used. Typescript complains about the global variable SH_CKE, so

SH_CKE.Alignment,
SH_CKE.Autoformat,
cause compile errors.
To solve this, I added
declare var SH_CKE: any;

at the beginning of the ts file.
Typescript stops complaining, a valid-looking js is generated in production folder but the custom field fails and the ckeditor doesn’t get displayed.

If I could make a valid ts file, then it would build a valid js file in production mode.