Skip to content

Commit a687c95

Browse files
committed
Revert Monaco view to stable version
1 parent f72e1a3 commit a687c95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/resources/web/dist/monaco.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const maxAllowedHeight = 600;
1+
const maxAllowedHeight = 5000;
22

33
function mymonaco(config) {
44
require.config({paths: {'vs': 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.39.0/min/vs'}});

src/main/resources/web/dist/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function getEditorOptions(config, text) {
33
value: text,
44
readOnly: true,
55
language: getLanguage(config),
6-
automaticLayout: config.spv !== true,
6+
automaticLayout: true,
77
scrollBeyondLastLine: false,
88
lineDecorationsWidth: 0,
99
glyphMargin: false,

0 commit comments

Comments
 (0)