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.
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.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
Styled Components is a popular library for styling React components using CSS syntax. It allows you to write CSS in your JavaScript code, making it easier to create dynamic styles that are specific to each component.
Strapi is an open source headless CMS that provides a customizable content management system and API for your projects. It allows you to manage content in a visual interface and use a REST or GraphQL API to retrieve the data.
ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.
Yup is a schema builder for runtime value parsing and validation. It provides a declarative way to define validation schemas with support for complex nested objects, array validation, and custom validation rules. Often used with Formik for form validation.