You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you choose to use the custom image handler, an event is emitted when a a photo is selected.
99
99
You can see below that 3 parameters are passed.
@@ -102,7 +102,7 @@ You can see below that 3 parameters are passed.
102
102
2. The Editor instance
103
103
3. The cursor position at the time of upload so the image can be inserted at the correct position on success
104
104
105
-
**NOTE** In addition to this example, I have created a [example repo](https://github.com/davidroyer/vue2editor-images) demonstrating this new feature with an actual server.
105
+
**NOTE** In addition to this example, I have created a [example repo](https://github.com/davidroyer/vue2editor-images) demonstrating this new feature with an actual server.
106
106
107
107
```vue
108
108
<template>
@@ -153,7 +153,7 @@ export default {
153
153
</script>
154
154
```
155
155
156
-
## Example - Set Contents After Page Load
156
+
###Example - Set Contents After Page Load
157
157
158
158
```vue
159
159
<template>
@@ -186,7 +186,7 @@ export default {
186
186
</script>
187
187
```
188
188
189
-
## Example - Using Multiple Editors
189
+
###Example - Using Multiple Editors
190
190
191
191
```vue
192
192
<template>
@@ -221,7 +221,7 @@ export default {
221
221
</style>
222
222
```
223
223
224
-
## Example - Custom Toolbar
224
+
###Example - Custom Toolbar
225
225
226
226
```vue
227
227
<template>
@@ -252,7 +252,7 @@ export default {
252
252
</script>
253
253
```
254
254
255
-
## Example - Saving The Content
255
+
###Example - Saving The Content
256
256
257
257
```vue
258
258
<template>
@@ -286,7 +286,7 @@ export default {
286
286
</script>
287
287
```
288
288
289
-
## Example - Use a Live Preview
289
+
###Example - Use a Live Preview
290
290
291
291
```vue
292
292
<template>
@@ -313,11 +313,11 @@ export default {
313
313
</script>
314
314
```
315
315
316
-
## How To Use Custom Quill Modules
316
+
###How To Use Custom Quill Modules
317
317
318
318
There are two ways of using custom modules with Vue2Editor. This is partly because there have been cases in which errors are thrown when importing and attempting to declare custom modules, and partly because I believe it actually separates the concerns nicely.
319
319
320
-
### Version 1 - **_Import and Register Yourself_**
320
+
####Version 1 - **_Import and Register Yourself_**
321
321
322
322
Vue2Editor now exports Quill to assist in this process.
323
323
@@ -362,7 +362,7 @@ Vue2Editor now exports Quill to assist in this process.
362
362
</script>
363
363
```
364
364
365
-
### Version 2 - **_You Import | Vue2Editor Registers_**
0 commit comments