Skip to content

Commit 5df1530

Browse files
committed
Fixes to Readme
1 parent cc691a7 commit 5df1530

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { VueEditor } from 'vue2-editor'
3232
Name | Type | Default | Description
3333
-------------- | ------ | -------------------------------------------------- | ----------------------------------------------------------------------
3434
id | String | quill-container | Set the id (necessary if multiple editors in the same view)
35-
v-model | String | - | Set v-model to the the content or data property you wish to bind it to
35+
v-model | String | - | Set v-model to the the content or data property you wish to bind it to | Handle image uploading instead of using default conversion to data URL's
3636
useCustomImageHandler | Boolean | false |
3737
placeholder | String | - | Placeholder text for the editor
3838
disabled | Boolean | false | Set to true to disable editor
@@ -73,7 +73,7 @@ onImageAdded | Emitted when useCustomImageHandler is true and and photo is being
7373

7474
## Example
7575

76-
**_Upload image to server and use returned url instead of data64_**
76+
**_Upload image to server and use returned url instead of data URL_**
7777
If you choose to use the custom image handler, an event is emitted when a a photo is selected.
7878
You can see below that 3 parameters are passed.
7979
1. It passes the file to be handled however you need
@@ -85,7 +85,7 @@ You can see below that 3 parameters are passed.
8585
<div id="app">
8686
<vue-editor id="editor"
8787
useCustomImageHandler
88-
@imageAdded="handleImageAdded" v-model="htmlForEditor">
88+
@imageAdded="handleImageAdded" v-model="htmlForEditor">
8989
</vue-editor>
9090
</div>
9191
</template>
@@ -106,7 +106,7 @@ You can see below that 3 parameters are passed.
106106
107107
methods: {
108108
handleImageAdded: function(file, Editor, cursorLocation) {
109-
109+
110110
}
111111
}
112112
}

0 commit comments

Comments
 (0)