feat: placeholder, auto-close brackets, search, line wrap

This commit is contained in:
liyasthomas
2021-09-01 17:33:54 +05:30
parent 3addfe8d4b
commit c938abf606
2 changed files with 10 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ const editor = ref<any | null>(null)
useCodemirror(editor, value, {
extendedEditorConfig: {
mode: props.mode,
placeholder: props.placeholder,
lineWrapping: props.wrap,
},
linter: props.linter,
})