From 60f43f81ce0f102acf1a4de73f8211307092124e Mon Sep 17 00:00:00 2001 From: Wayne Wei Date: Mon, 15 Jan 2024 16:30:31 +0800 Subject: [PATCH] Disable minimap. --- src/ZKEACMS.WebHost/wwwroot/lib/monaco/code-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZKEACMS.WebHost/wwwroot/lib/monaco/code-editor.js b/src/ZKEACMS.WebHost/wwwroot/lib/monaco/code-editor.js index 5dbe996b..d6f732a2 100644 --- a/src/ZKEACMS.WebHost/wwwroot/lib/monaco/code-editor.js +++ b/src/ZKEACMS.WebHost/wwwroot/lib/monaco/code-editor.js @@ -15,7 +15,7 @@ var editor = monaco.editor.create(codeContainer, { value: ele.value, language: ele.dataset.lan || "razor", - codeMap: false + minimap: { enabled: false } }); editor.onDidChangeModelContent(e => { ele.value = editor.getValue();