{"repo":"kolkov/angular-editor","free":true,"listed":false,"github":"https://github.com/kolkov/angular-editor","clone":"git clone https://github.com/kolkov/angular-editor.git","description":"A simple native WYSIWYG editor component for Angular 6 -20+","language":"TypeScript","stars":720,"topics":["angular","angular-editor","editor","wysiwyg","wysiwyg-editor","rich-text-editor","rich-text"],"license":"MIT","category":"ui-components","readme_excerpt":"AngularEditor A simple native WYSIWYG/Rich Text editor for Angular 22+ Demo demo See the code in StackBlitz. Getting Started Installation Install via [npm][npm] package manager Versions 3.1.0 and above - for Angular v22+ (CSS variables, Vitest testing) 3.0.0 and above - for Angular v20+ (CSS variables, modern Angular 20) 2.0.0 and above - for Angular v13-19 1.0.0 and above - for Angular v8-12 0.18.4 and above - for Angular v7.x.x 0.15.x - for Angular v6.x.x Note: Version 3.1.0 requires: - Angular 22.0.0 or higher - RxJS 7.8.0 or higher - TypeScript 6.0 or higher Attention! alpha and beta versions may contain breaking changes. Usage Import angular-editor module Then in HTML or for usage with reactive forms if you are using more than one editor on same page set id property where For ngModel to work, you must import FormsModule from @angular/forms , or for formControlName , you must import ReactiveFormsModule from @angular/forms To serve the icons file, ensure that your angular.json contains the following asset configuration: Styling Connect default theme file to your angular.json or nx.json or @include or @use in your project styles.scss file, and then override default theme variables like this: Custom buttons You can define your custom buttons with custom actions using executeCommandFn. It accepts commands from execCommand. The first argument of this method is aCommandName and the second argument is aValueArgument. Example shows a button that adds Angular editor logo into the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/kolkov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kolkov/angular-editor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}