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
v-model | String | - | Set v-model to the the content or data property you wish to bind it to
28
35
placeholder | String | - | Placeholder text for the editor
29
-
editor-toolbar | Array | **_Too long for table. See toolbar example below_ | Use a custom toolbar
36
+
disabled | Boolean | false | Set to true to disable editor
37
+
editorToolbar | Array | **_Too long for table. See toolbar example below_ | Use a custom toolbar
30
38
31
39
<!-- ## Events Name | Description ---------------- | ----------- editor-updated | Emitted when the editor contents change save-content | Emitted when the default save button is clicked -->
32
40
33
-
# Example
34
-
35
-
**Basic Example**
41
+
## Example
42
+
**_Basic Setup_**
36
43
37
44
```html
38
45
<template>
@@ -49,7 +56,7 @@ editor-toolbar | Array | ** _Too long for table. See toolbar example below_ | U
49
56
},
50
57
51
58
exportdefault {
52
-
data:function() {
59
+
data() {
53
60
return {
54
61
content:'<h1>Some initial content</h1>'
55
62
}
@@ -58,9 +65,9 @@ editor-toolbar | Array | ** _Too long for table. See toolbar example below_ | U
58
65
</script>
59
66
```
60
67
61
-
# Example
68
+
##Example
62
69
63
-
**Set contents after page load**
70
+
**_Set Contents After Page Load_**
64
71
65
72
```html
66
73
<template>
@@ -73,12 +80,12 @@ editor-toolbar | Array | ** _Too long for table. See toolbar example below_ | U
73
80
<script>
74
81
import { VueEditor } from'vue2-editor'
75
82
76
-
components: {
77
-
VueEditor
78
-
},
79
-
80
83
exportdefault {
81
-
data:function() {
84
+
components: {
85
+
VueEditor
86
+
},
87
+
88
+
data() {
82
89
return {
83
90
htmlForEditor:null
84
91
}
@@ -93,14 +100,13 @@ editor-toolbar | Array | ** _Too long for table. See toolbar example below_ | U
0 commit comments