Editor
PEditor is a contenteditable rich text input with formatting controls for headings, emphasis, and lists.
Demo
Usage
Props
| Prop | Type | Default | Notes |
|---|
modelValue | String | null | null | Vue 3 model value (v-model). |
value | String | '' | Legacy fallback value when modelValue is null. |
disabled | Boolean | false | Disables editing and toolbar interaction. |
Events
| Event | Payload | Description |
|---|
update:modelValue | String | Emitted whenever editor content changes. |
input | String | Legacy input event with current HTML content. |
Slots
| Slot | Description |
|---|
| default | Floating label text. |