mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: editor: always use LF as line ending
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user