]> source.dussan.org Git - gitea.git/commit
Use monaco for the git hook editor (#13552)
authorsilverwind <me@silverwind.io>
Sat, 14 Nov 2020 03:57:34 +0000 (04:57 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Nov 2020 03:57:34 +0000 (22:57 -0500)
commit374ff60465ace2471d0dde121c6a3e1527ab0bec
tree76070c023124891a4ee08da8b5db01e13bf90d65
parenta2efcb6acc85dbd231c402a4c308e76289d06cbd
Use monaco for the git hook editor (#13552)

Migrate git hook editor to monaco, replacing CodeMirror. Had to do a few
refactors to make the monaco instantiation generic enough to be of use.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
routers/repo/setting.go
templates/repo/editor/edit.tmpl
templates/repo/settings/githook_edit.tmpl
templates/repo/settings/githooks.tmpl
web_src/js/features/codeeditor.js
web_src/js/index.js
web_src/less/_editor.less