npm.io
4.0.2 • Published 8 years ago

ng6x-editor

Licence
MIT
Version
4.0.2
Deps
6
Size
1.1 MB
Vulns
1
Weekly
0

NgxEditor

ngxEditor

A Simple WYSIWYG Editor for Angular6+ Applications.

Build Status npm version npm licence

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/

Keywords