0.0.10 • Published 4 years ago

ngx-quilljs v0.0.10

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

ngx-quilljs

An Angular specific rich text editor using Quill Js

Install

npm i ngx-quilljs

use

Use Module

imports: [
    QuilljsModule
],

Then, use component

<ngx-quilljs formControlName="<CONTROL_NAME>" options="<OPTIONAL>"></ngx-quilljs>

Editor OPTIONS

Options = {
  theme: <THEME>, // Defaults to 'snow'
  placeholder: '', 
  toolbar: <TOOLBAR> // Defaults to all the tools available for Quill Editor,
  height: '' // defaults to 100px
};

<THEME-OPTIONS>

'snow' OR 'bubble'

SNOW

default.png

Bubble

bubble.png

<TOOLBAR-OPTIONS>

[
	['bold', 'italic', 'underline', 'strike', 'image'],  // toggled buttons
	['blockquote', 'code-block'],
	[{ header: 1 }, { header: 2 }],                      // custom button values
	[{ list: 'ordered'}, { list: 'bullet' }],
	[{ script: 'sub'}, { script: 'super' }],             // superscript/subscript
	[{ indent: '-1'}, { indent: '+1' }],                 // outdent/indent
	[{ direction: 'rtl' }],                              // text direction
	[{ size: ['small', false, 'large', 'huge'] }],       // custom dropdown
	[{ header: [1, 2, 3, 4, 5, 6, false] }],
	[{ color: [] }, { background: [] }],                 // dropdown with defaults from theme
	[{ font: [] }],
	[{ align: [] }],
	['clean']                                            // remove formatting button
]

RELEASE v0.0.9 - Fixes

  • Fixed image display issue. Now the content instantly sync as the user type
0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago