JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q49798F
  • License MIT

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

Package Exports

  • ng-quill-simple

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng-quill-simple) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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