A WYSIWYG Editor for Angular Material applications.
Install via Package managers such as npm or yarn
npm install @iget/editor --save
Since v9.0.0 our version matches with the Angular & Angular Components version that it support. See the compatibility table:
@angular/angular | @angular/components | @iget/editor |
---|
^12.0.0 | ^12.0.0 | ^12.0.0
^11.0.0 | ^11.0.0 | ^11.0.0
^10.0.0 | ^10.0.0 | ^10.0.0
^9.0.0 | ^9.0.0 | ^9.0.0
^8.0.0 | ^8.0.0 | ^2.0.0
Import iget-editor
module
import { IgetEditorModule } from '@iget/editor';
@NgModule({
imports: [ IgetEditorModule ]
})
Import Material Icon font into your application by adding this to your index.html
head
tag:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
Then insert the editor on your template
<iget-editor [(ngModel)]="htmlContent"></iget-editor>
For ngModel
to work, You must import FormsModule
from @angular/forms
.
All Evergreen-Browsers are supported
Demo at stackblitz iget-editor
For more information about usage, check out Documentation.
The documentation is auto-generated using compodoc
This package is based on ngx-editor from sibiraj-s, so this package is thanks to his work.