fix: 代码编辑器粘贴时格式化代码

This commit is contained in:
JiangQiming 2023-01-31 17:16:19 +08:00
parent 8c348631f4
commit c4ae0a6ddd
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ onMounted(() => {
automaticLayout: true,
scrollBeyondLastLine: false,
theme: props.theme, // : vs(), vs-dark(), hc-black()
formatOnPaste: true,
});
instance.onDidChangeModelContent(() => {