'Angular rich text editor max length validation
I need to set the max length of Angular Editor. I have tried so many ways but was not able to set the maxlength.
<angular-editor
[(ngModel)]="htmlContent"
[config]="config"
maxlength="10"></angular-editor>
I have tried the below editors.
- kolkov/angular-editor
- ngx-quill
- p-editor
Please help me to solve the maxlength validations.
Or
Suggest me the other editor with minlength and maxlength validation options.
Example: https://stackblitz.com/edit/angular-editor-wysiwyg-afbpk1?file=src/app/app.component.html
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|