Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-26 11:46:09 +01:00
forgejo/templates/repo/editor
Giteabot a1029cb2ca
Fix EOL handling in web editor (#27141) (#27234)
Backport #27141 by @silverwind

Fixes https://github.com/go-gitea/gitea/issues/27136.

This does the following for Monaco's EOL setting:

1. Use editorconfig setting if present
2. Use the file's dominant line ending as detected by monaco, which uses
LF for empty file

Co-authored-by: silverwind <me@silverwind.io>
2023-09-24 22:10:38 +00:00
..
cherry_pick.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
commit_form.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
delete.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
diff_preview.tmpl Fix broken code editor diff preview (#23307) 2023-03-06 09:37:58 +08:00
edit.tmpl Fix EOL handling in web editor (#27141) (#27234) 2023-09-24 22:10:38 +00:00
patch.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
upload.tmpl Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00