shift enter value

This commit is contained in:
Pete Matsyburka committed 2026-11-12 20:12:53 +02:00
1 parent 4fb3e5bd47
commit 06c44e8b2f
1 file changed
+5 -4
+5 -4
View File
@@ -700,11 +700,12 @@ export default {
this.save()
},
onDefaultValueEnter (e) {
if (this.field.type !== 'heading') {
e.preventDefault()
if (this.field.type === 'heading') return
if (e.shiftKey && this.field.type === 'text') return
this.$refs.defaultValue.blur()
}
e.preventDefault()
this.$refs.defaultValue.blur()
},
resize (e) {
if (e.target.id === 'mask') {