Skip to content

Commit

Permalink
fix: correct quill version... update quill interface
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerCodeMonkey committed Jan 22, 2024
1 parent b538f4b commit 6604610
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 210 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ const modules = {
- minLength - add validation for minlength - set model state to `invalid` and add `ng-invalid` class, only set invalid if editor text not empty --> if you want to check if text is required --> use the required attribute
- trimOnValidation - trim trailing|leading newlines on validation run for required, min- and maxLength, default `false`
- required - add validation as a required field - `[required]="true"` - default: false, boolean expected (no strings!)
- strict - default: true, sets editor in strict mode
- scrollingContainer - default '.ql-editor', allows to set scrolling container
- registry - custom parchment registry to not change things globally
- beforeRender - a function, which is executed before the Quill editor is rendered, this might be useful for lazy-loading CSS. Given the following example:

```ts
// typings.d.ts
declare module '!!raw-loader!*.css' {
Expand Down
Loading

0 comments on commit 6604610

Please sign in to comment.