add wrap to the editor

This commit is contained in:
Nate Dalliard 2019-10-30 13:32:50 +01:00
parent f1e1a27408
commit 13e3792738
No known key found for this signature in database
GPG Key ID: 97383F9EABA2AF31

View File

@ -42,7 +42,8 @@ export default {
showPrintMargin: false,
readOnly: this.req.type === 'textImmutable',
theme: 'ace/theme/chrome',
mode: modelist.getModeForPath(this.req.name).mode
mode: modelist.getModeForPath(this.req.name).mode,
wrap: true
})
},
methods: {