fix: 代码编辑器粘贴时格式化代码
This commit is contained in:
parent
8c348631f4
commit
c4ae0a6ddd
|
@ -50,6 +50,7 @@ onMounted(() => {
|
|||
automaticLayout: true,
|
||||
scrollBeyondLastLine: false,
|
||||
theme: props.theme, // 主题色: vs(默认高亮), vs-dark(黑色), hc-black(高亮黑色)
|
||||
formatOnPaste: true,
|
||||
});
|
||||
|
||||
instance.onDidChangeModelContent(() => {
|
||||
|
|
Loading…
Reference in New Issue