Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ng-quill-simple

An angular component for the simple and light use of the QuillJS richt text editor.

editor, rich text, wysiwyg, angular, directive, component, quill, quilljs, angular 7, angular, angular7, ng, text editor

readme

NgQuill

this is light version to use quill in your angular project

How to use

Run npm install ng-quill-simple from your terminal and after that import NgQuillModule into your module

import { NgQuillModule } from 'ng-quill-simple'

@NgModule({
    declarations: [],
    imports: [
        NgQuillModule,
    ],
    exports: []
})

Right now you have 2 components

Editor Component

<ng-quill-editor (onContentChange)="onChange($event)" [data]="data"> </ng-quill-editor>

View Component

<ng-quill-view [innerHTML]="content"> </ng-quill-view>

domSanitizer.bypassSecurityTrustHtml(content)

I recommend to use domSanitizer.bypassSecurityTrustHtml in the view component