Skip to content

Commit

Permalink
docs(readme): add sanitize option to view cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerCodeMonkey committed Jun 22, 2020
1 parent 417f32b commit 6890280
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ As a helper `ngx-quill` provides a component where you can pass many options of
- use customModules for adding and overwriting modules --> this overwrites this modules **globally** !!!
- strict - default: true, sets editor in strict mode
- preserveWhitespace - default: false - possbility to use a pre-tag instead of a div-tag for the contenteditable area to preserve duplicated whitespaces | caution if used with syntax plugin [Related issue](https://github.com/quilljs/quill/issues/1751)
- sanitize - uses angulars DomSanitizer to santize html values - default: `false`, boolean (only for format="html")

```HTML
<quill-view [content]="content" format="text" theme="snow"></quill-view>
Expand Down

0 comments on commit 6890280

Please sign in to comment.