@viveeditor/angular
v1.1.0
Published
Angular component for viveEditor with ngModel and reactive forms, toolbar and every feature included.
Maintainers
Readme
@viveeditor/angular
Angular component for viveEditor with ngModel and reactive forms, toolbar and every feature included.
Part of viveEditor, a free, open-source rich text editor.
Install
npm install @viveeditor/angular viveeditorUsage
import { Component } from '@angular/core'
import { FormControl, ReactiveFormsModule } from '@angular/forms'
import { ViveEditorComponent } from '@viveeditor/angular'
@Component({
selector: 'app-article-form',
imports: [ViveEditorComponent, ReactiveFormsModule],
template: `<vive-ng-editor [formControl]="body" locale="tr" label="Article body" />`,
})
export class ArticleForm {
body = new FormControl('')
}Angular 21 and 22, with ngModel or reactive forms. Add node_modules/viveeditor/dist/viveeditor.css to the styles in angular.json.
License
MIT
