From 8c666116a39d768dbca029eedfa3baff93d43097 Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Tue, 21 Apr 2020 19:53:07 +0300 Subject: [PATCH] Enable code folding in resource editor (#292) Signed-off-by: Lauri Nevala --- dashboard/client/components/ace-editor/ace-editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/client/components/ace-editor/ace-editor.tsx b/dashboard/client/components/ace-editor/ace-editor.tsx index 4b96467c11..3bd6d65e21 100644 --- a/dashboard/client/components/ace-editor/ace-editor.tsx +++ b/dashboard/client/components/ace-editor/ace-editor.tsx @@ -28,7 +28,7 @@ const defaultProps: Partial = { mode: "yaml", tabSize: 2, showGutter: true, // line-numbers - foldStyle: "manual", + foldStyle: "markbegin", printMargin: false, useWorker: false, };