Skip to content

Commit

Permalink
[Bugfix][Web]Fix thumbnail display in code editor (DataLinkDC#3750)
Browse files Browse the repository at this point in the history
Co-authored-by: zackyoungh <[email protected]>
  • Loading branch information
zackyoungh and zackyoungh authored Aug 27, 2024
1 parent e376841 commit 86e7bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dinky-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"lodash": "^4.17.21",
"million": "^3.1.1",
"moment": "^2.30.1",
"monaco-editor": "^0.49.0",
"monaco-editor": "^0.51.0",
"omit.js": "^2.0.2",
"path-to-regexp": "^6.2.2",
"rc-menu": "^9.14.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,7 @@ export function buildFlinkSQLConfiguration(monacoLanguages?: Monaco['languages']
['"', '"'],
["'", "'"],
['`', '`']
],

folding: {
offSide: true,
markers: {
start:
/((create|alter|drop|rename\s+)?(TABLE|DATABASE|STREAM|FUNCTION|PROCEDURE|PACKAGE|TYPE|TRIGGER|INDEX|SCHEMA|VIEW)\b)|((EXECUTE\s+)?(JAR|CDCSOURCE)?\b)/i,
end: /\)\\;\b/i
}
}
]
});
}

Expand Down

0 comments on commit 86e7bdf

Please sign in to comment.