![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@ckeditor/ckeditor5-angular
Advanced tools
Changelog
8.0.0-alpha.0 (2024-06-05)
We are happy to announce the alpha release of the next major version of the React integration.
This release is intended to allow the integration to work with existing and new installation methods announced in this post.
Please refer to our nightly documentation build for the installation instructions.
ckeditor5
package and not runtime code to make the integration work with existing and new installation methods. (commit)Readme
Official CKEditor 5 rich text editor component for Angular 13+.
See the "Rich text editor component for Angular" guide in the CKEditor 5 documentation to learn more:
ngModel
@Input
properties@Output
propertiesBecause 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:
Package version | Angular version | Details |
---|---|---|
Actively supported versions | ||
^7 | 13+ | Changes in peer dependencies. (issue) |
Past releases (no longer maintained) | ||
^6 | 13+ | Requires CKEditor 5 at least in version 42. |
^5 | 13+ | Requires Angular at least in version 13+. Lower versions are no longer maintained. |
^4 | 9.1+ | Requires CKEditor 5 at least in version 34. |
^3 | 9.1+ | Requires Node.js at least in version 14. |
^2 | 9.1+ | Migration to TypeScript 4. Declaration files are not backward compatible. |
^1 | 5.x - 8.x | Angular versions are 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
).
After cloning this repository, install necessary dependencies:
npm install
This repository contains the following code:
./src/ckeditor
contains the implementation of the <ckeditor>
component,./src/app
is a demo application using the component.Note: The npm package contains a packaged component only.
To open the demo application using the component, run:
npm run start
To test it in production, use:
npm run start -- --configuration production
To run unit tests, use:
npm run test
To run e2e tests, run:
# Prepare the server.
npm run start
# Then, start tests.
npm run test:e2e
To run coverage tests, run:
npm run coverage
Play with the application and make sure the component works properly.
npm run changelog
Note This step is required to test the package used as an npm dependency.
This project uses ng-packagr to create the package meeting the Angular Package Format specification.
Calling:
npm run build-package
creates a package in the ./dist
directory, which can be then published in the npm registry.
To test the ckeditor5-angular
package, first bootstrap an empty Angular package using ng new
and add the <ckeditor>
component by following the guide.
Then, create a symlink to the ckeditor5-angular/dist
package directory to test the ckeditor5-angular
component via this repository.
ln -s path/to/ckeditor5-angular/dist node_modules/\@ckeditor/ckeditor5-angular
Make sure that the preserveSymlinks
option is set to true
for the build
architect in angular.json
:
{
"project-name": {
"architect": {
"build": {
"options": {
"preserveSymlinks": true
}
}
}
}
}
Make sure to test the package with the production setup (ng build --configuration production
) and with older Angular versions (at least with the 9.1).
To create the release directory, run:
npm run release:prepare-packages
Then, to publish the new package in the npm registry, run:
npm run release:publish-packages
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file.
FAQs
Official Angular component for CKEditor 5 – the best browser-based rich text editor.
The npm package @ckeditor/ckeditor5-angular receives a total of 62,414 weekly downloads. As such, @ckeditor/ckeditor5-angular popularity was classified as popular.
We found that @ckeditor/ckeditor5-angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.