An open API service indexing awesome lists of open source software.

https://github.com/techyaura/ngx-quilljs

An Angular specific rich text editor using Quill Js
https://github.com/techyaura/ngx-quilljs

angular library quilljs rich-text-editor wysiwyg

Last synced: 5 months ago
JSON representation

An Angular specific rich text editor using Quill Js

Awesome Lists containing this project

README

          

# ngx-quilljs

An Angular specific rich text editor using Quill Js

## Install

`npm i ngx-quilljs`

## use
Use Module
```...
imports: [
QuilljsModule
],
```
Then, use component

```

```
## Editor OPTIONS

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

``

```
'snow' OR 'bubble'

```
SNOW

[![default.png](https://i.postimg.cc/Wb67Fmkr/default.png)](https://postimg.cc/7fhzj2XY)

Bubble

[![bubble.png](https://i.postimg.cc/sgj4pBYL/bubble.png)](https://postimg.cc/hfYmnt38)

``

```
[
['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