Editor
Rich text editor component based on Quill.js with form validation integration and configurable toolbar modules.
Basic Usage
Basic rich text editor with default toolbar.
Custom Modules
Use modules to customize the editor toolbar and features.
API
Editor Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| model-value / v-model | editor content (HTML string) | string | — |
| disabled | disable the editor | boolean | false |
| maxlength | max content length | number | 256 |
| placeholder | placeholder text | string | — |
| editor-style | custom editor styles | object | — |
| theme | Quill theme | string | 'snow' |
| modules | Quill modules configuration | object | default toolbar |
| disable-br | disable line breaks | boolean | false |
Editor Events
| Name | Description | Type |
|---|---|---|
| update:model-value | triggered when content changes | function |
| change | triggered when content changes | function |
| blur | triggered when editor loses focus | function |