Skip to content

Commit 4b5f20b

Browse files
committed
docs: updates to kebab-case for emitted names
1 parent e70b3a7 commit 4b5f20b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ You can see below that 3 parameters are passed.
108108
```vue
109109
<template>
110110
<div id="app">
111-
<vue-editor id="editor" useCustomImageHandler @imageAdded="handleImageAdded" v-model="htmlForEditor"> </vue-editor>
111+
<vue-editor id="editor" useCustomImageHandler @image-added="handleImageAdded" v-model="htmlForEditor"> </vue-editor>
112112
</div>
113113
</template>
114114

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
| blur | quill | Emitted on `blur` event |
3232
| selection-change | range, oldRange, source | Emitted on Quill's `selection-change` event |
3333
| text-change | delta, oldDelta, source | Emitted on Quill's `text-change` event |
34-
| imageAdded | file, Editor, cursorLocation | Emitted when `useCustomImageHandler` is true and photo is being added to the editor |
35-
| imageRemoved | image | Emitted when `useCustomImageHandler` is true and photo has been deleted |
34+
| image-added | file, Editor, cursorLocation | Emitted when `useCustomImageHandler` is true and photo is being added to the editor |
35+
| image-removed | image | Emitted when `useCustomImageHandler` is true and photo has been deleted |
3636

3737
<!-- Emitted when the default save button is clicked -->

0 commit comments

Comments
 (0)