Integrates CKEditor 5 into your Strapi project as a fully customizable custom field.
The document provides information about a Strapi plugin called CKEditor that integrates a rich text editor into Strapi apps. It mentions the features, installation process, configuration, and requirements of the plugin.
To install the CKEditor plugin in a Strapi app, follow these steps:
npm install strapi-plugin-ckeditor
or
yarn add strapi-plugin-ckeditor
npm run build
or
yarn build
The plugin is based on Strapi’s custom fields and requires the CKEditor DLL build. The configuration should be defined in the /config/ckeditor.txt
file. It is recommended to explore the official CKEditor documentation for detailed configuration options. The content from ckeditor.txt
will be passed into a script tag during the initialization process.
Default configurations can be found in the admin/src/components/Input/CKEditor/configs
directory. The default theme can be found in the admin/src/components/Input/CKEditor/theme
directory.
To specify a URL for uploaded files when using the default upload provider, add a url
property to the config/server.js
file.
To display content from an external source on the admin side, configure the middlewares.js
file.
To add plugins, follow these steps:
npm install plugin-name
or
yarn add plugin-name
config/ckeditor.txt
file, add the plugin.npm run build
or
yarn build
If you want to contribute to this package, follow these steps to configure your environment:
plugins
folder in your Strapi project.plugins
folder../package.json
file of the plugin repository.npm install
or
yarn install
./config/plugins.js
file.The build of this plugin includes some useful plugins based on the following repositories:
The document provides an overview of the CKEditor plugin for Strapi, highlighting its features, installation process, configuration options, and requirements. It also includes instructions for contributing to the plugin’s development.