ui: editor: always use LF as line ending

This commit is contained in:
undefined committed 2022-03-13 01:55:18 +08:00
1 parent 32bf5b9a7e
commit c4521d9ce3
4 files changed
+10 -10

No files matched your search

@@ -134,7 +134,7 @@ function handlePasteEvent(editor: monaco.editor.IStandaloneCodeEditor) {
export function registerAction(
editor: monaco.editor.IStandaloneCodeEditor,
model: monaco.editor.IModel,
element,
element?,
) {
if (element) {
editor.addAction({