Description
AngularEditor is a simple, native WYSIWYG rich text editor component for Angular. It is installed from npm and aimed at Angular developers who need an in-app editor. The current 3.1.x line supports Angular 20, 21 and 22, with RxJS 7.8 or later and TypeScript 5.6 or later. Older releases cover earlier Angular versions. The component works with ngModel or with reactive forms through formControlName, so you import FormsModule or ReactiveFormsModule. If you use more than one editor on a page, each one needs its own id. The README covers how to serve the icon assets through angular.json and how to theme the editor with a theme file and CSS variables. You can add custom toolbar buttons with an executeCommandFn that runs commands from execCommand. The inputs are documented in an API section, and a demo is on StackBlitz.…
Highlights
- Native WYSIWYG editor for Angular
- Works with ngModel and reactive forms
- Theming with CSS variables
- Custom toolbar buttons
- Markdown support and custom sanitization
- Angular 20 to 22 support in version 3.1
Ratings & Reviews
No ratings yet
Be the first to rate angular-editor.
People also visit

domternal
Lightweight, extensible rich text editor toolkit with native Angular components
angular-editor FAQ
What is AngularEditor?
A WYSIWYG and rich text editor component for Angular, installed from npm.
Which Angular versions are supported?
Version 3.1.x supports Angular 20, 21 and 22. Version 3.0.x supports Angular 20 and 21, and version 2.x covers Angular 13 to 19.
How do I use it with forms?
Use ngModel with FormsModule, or formControlName with ReactiveFormsModule. Give each editor on a page its own id.
Can I customize the look?
Yes. Connect the default theme file, or override the theme variables, which use CSS variables in version 3.
Can I add my own buttons?
Yes. Custom buttons can run actions with executeCommandFn, which accepts commands from execCommand.
What are the best angular-editor alternatives?
Popular alternatives to angular-editor include ngx-wig, domternal and ngx-quill. See all angular-editor alternatives














