From ca0473347538570320ab588b3ef551ad3415b93f Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sun, 23 Feb 2025 14:34:14 +0800 Subject: [PATCH] feat(code-editor): enable word wrap in editor options --- src/constants/code-editor-options.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/constants/code-editor-options.ts b/src/constants/code-editor-options.ts index 235c9d4..263106e 100644 --- a/src/constants/code-editor-options.ts +++ b/src/constants/code-editor-options.ts @@ -13,6 +13,7 @@ export const CODE_EDITOR_OPTIONS: monaco.editor.IEditorConstructionOptions = { minimap: { enabled: false }, + wordWrap: "on", padding: { top: 18 },