File tree 1 file changed +4
-4
lines changed
src/components/RichContenteditable
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export default {
112
112
v-tooltip="tooltip"
113
113
:class="{
114
114
'rich-contenteditable__input--empty': isEmptyValue,
115
- 'rich-contenteditable__input--multiline': multiLine ,
115
+ 'rich-contenteditable__input--multiline': multiline ,
116
116
'rich-contenteditable__input--overflow': isOverMaxlength,
117
117
}"
118
118
:contenteditable="contenteditable"
@@ -163,10 +163,10 @@ export default {
163
163
* Make the contenteditable looks like a textarea or not.
164
164
* Default looks like a single-line input.
165
165
* This also handle the default enter/shift+enter behaviour.
166
- * if multiLine , enter = newline; otherwise enter = submit
166
+ * if multiline , enter = newline; otherwise enter = submit
167
167
* shift+enter always add a new line. ctrl+enter always submits
168
168
*/
169
- multiLine : {
169
+ multiline : {
170
170
type: Boolean,
171
171
default: false,
172
172
},
@@ -408,7 +408,7 @@ export default {
408
408
onEnter(event) {
409
409
// Prevent submitting if autocompletion menu
410
410
// is opened or length is over maxlength
411
- if (this.multiLine || this.isOverMaxlength || this.tribute.isActive) {
411
+ if (this.multiline || this.isOverMaxlength || this.tribute.isActive) {
412
412
return
413
413
}
414
414
You can’t perform that action at this time.
0 commit comments