# ckeditor5-angular **Repository Path**: mirrors_ckeditor/ckeditor5-angular ## Basic Information - **Project Name**: ckeditor5-angular - **Description**: Official CKEditor 5 Angular 5+ component. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-10-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CKEditor 5 rich text editor component for Angular [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-angular.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-angular) [![CircleCI](https://circleci.com/gh/ckeditor/ckeditor5-angular.svg?style=shield)](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5-angular?branch=master) [![Coverage Status](https://codecov.io/github/ckeditor/ckeditor5-angular/graph/badge.svg)](https://codecov.io/github/ckeditor/ckeditor5-angular) ![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-angular) Official [CKEditor 5](https://ckeditor.com/ckeditor-5/) rich text editor component for Angular 13+. ## [Developer Documentation](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html) 📖 See the ["Rich text editor component for Angular"](https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/angular.html) guide in the [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest) to learn more: * [Quick start](https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/angular.html#quick-start) * [Integration with `ngModel`](https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/angular.html#integration-with-ngmodel) * [Supported `@Input` properties](https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/angular.html#supported-input-properties) * [Supported `@Output` properties](https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/angular.html#supported-output-properties) * [Styling](https://ckeditor.com/docs/ckeditor5/latest/getting-started/installation/angular.html#styling) * [Localization](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html#localization) ## Supported Angular versions Because of the breaking changes in the Angular library output format, the `@ckeditor/ckeditor5-angular` package is released in the following versions to support various Angular ecosystems:
CKEditor 5  Angular component version Angular version Details
Actively supported versions
^12 20+ Requires CKEditor 5 in version 49 or higher.
Past releases (no longer maintained)
^11 19+ Requires CKEditor 5 in version 47 or higher.
^10 16+ Requires CKEditor 5 in version 46 or higher.
^9 16+ Migration to TypeScript 5. Declaration files are not backward compatible. Requires CKEditor 5 in version 43 or higher.
^8 13+ Requires CKEditor 5 in version 42 or higher.
^7 13+ Changes in peer dependencies (issue). Requires CKEditor 5 in version 37 or higher.
^6 13+ Requires CKEditor 5 in version 37 or higher.
^5 13+ Requires Angular in version 13+ or higher.
^4 9.1+ Requires CKEditor 5 in version 34 or higher.
^3 9.1+ Requires Node.js in version 14 or higher.
^2 9.1+ Migration to TypeScript 4. Declaration files are not backward compatible.
^1 5.x - 8.x Angular versions no longer maintained.
Note that the `package.json` file used in the main repository isn't published on npm (the production one is present in [`src/ckeditor/package.json`](https://github.com/ckeditor/ckeditor5-angular/blob/master/src/ckeditor/package.json)). ## Contributing > [!NOTE] > This project requires **pnpm v12.8.2**. You can check your version with `pnpm --version` and update if needed with `npm install -g pnpm@12.8.2`. After cloning this repository, install necessary dependencies: ```bash pnpm install ``` ### The structure of the repository This repository contains the following code: * `./src/ckeditor` contains the implementation of the `` component, * `./src/app` is a demo application using the component. **Note:** The [npm package](https://www.npmjs.com/package/@ckeditor/ckeditor5-angular) contains a [packaged component](#packaging-the-component) only. ### Testing the component (demo) To open the demo application using the component, run: ```bash pnpm run start ``` To test it in production, use: ```bash pnpm run start --configuration production ``` To run the full automated test suite against the default installed editor version, use: ```bash pnpm run test ``` The unit test suite runs in a real browser (Chrome) using Vitest browser mode. To run only the integration subset used by the CI editor-version matrix, use: ```bash pnpm exec vitest run --project integration ``` After a regular `pnpm install`, this command uses the default `ckeditor5` and `ckeditor5-premium-features` versions from `package.json`. To run unit tests in watch mode, use: ```bash pnpm run test:dev ``` To run e2e tests, run: ```bash pnpm run test:e2e ``` Playwright starts the demo app with `pnpm run start` on its own, or reuses one that already runs on port 4200. The tests use the system Chrome, so no browser download is needed. To reproduce the LTS integration matrix run locally, install the matching editor packages first and then run the integration checks: ```bash export CKEDITOR_LICENSE_KEY= pnpm add -Dw ckeditor5@lts-v47 ckeditor5-premium-features@lts-v47 pnpm exec vitest run --project integration pnpm run test:e2e ``` If you prefer, you can put `CKEDITOR_LICENSE_KEY` in `.env` or `.env.local` instead. The Vitest setup reads it through Vite, and `pnpm run start` forwards it to `ng serve` for local e2e runs. To run coverage tests, run: ```bash pnpm run coverage ``` The coverage report is generated in the `./coverage` directory. Play with the application and make sure the component works properly. ## License Licensed under a dual-license model, this software is available under: * the [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html), * or commercial license terms from CKSource Holding sp. z o.o. For more information, see: [https://ckeditor.com/legal/ckeditor-licensing-options](https://ckeditor.com/legal/ckeditor-licensing-options).