ng6x-editor
v4.0.2
Published
WYSIWYG Editor for Angular 6+ Applications
Downloads
46
Maintainers
Readme
NgxEditor
Getting Started
Installation
Install via Package managers such as npm or yarn
npm install ng6x-editor --save
# or
yarn add ng6x-editor
Usage
Import ng6x-editor
module
import { NgxEditorModule } from 'ng6x-editor';
@NgModule({
imports: [ NgxEditorModule ]
})
Import font-awesome into your application
Then in HTML
<app-ng6x-editor [placeholder]="'Enter text here...'" [spellcheck]="true" [(ngModel)]="htmlContent"></app-ng6x-editor>
For ngModel
to work, You must import FormsModule
from @angular/forms
PeerDependencies
ng6x-editor
depeneds on the following libraries to work.
Compatibility
All Evergreen-Browsers are supported
- Google Chrome
- Microsoft Edge
- Mozilla Firefox
- Opera
Demo
Demo at stackblitz ng6x-editor
Documentation
Documentation is auto-generated using compodoc, and can be viewed here: https://sibiraj-s.github.io/ng6x-editor/