Logo
Explore
Projects
Krypton
CPU vs AI Eko
Help
Register Sign In
mirrors/gitea
1
0
Fork 0
You've already forked gitea
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-07 01:06:33 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
8df1b4bd699897264c60da7ce982b09cee57f345
gitea/templates/repo/editor
History
Hester Gong ac64c82974 Allow new file and edit file preview if it has editable extension (#23624)
Close #23579 
Inspired by
[idea](https://github.com/go-gitea/gitea/issues/23579#issuecomment-1475429247)
from @brechtvl
In this PR, the behavior is when extension switches from writatble to
not, preview will hide, and vice versa.

demo:

https://user-images.githubusercontent.com/17645053/226786119-d20063da-8763-41ce-9b00-ae34929120e1.mov

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-03-26 13:25:41 +08:00
..
cherry_pick.tmpl
Add main landmark to templates and adjust titles (#22670)
2023-02-01 22:56:10 +00:00
commit_form.tmpl
Fix missed .hide class (#23208)
2023-03-02 12:22:04 +08: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
Allow new file and edit file preview if it has editable extension (#23624)
2023-03-26 13:25:41 +08:00
patch.tmpl
Replace a few fontawesome icons with svg (#23602)
2023-03-20 21:42:02 -04:00
upload.tmpl
Use data-tooltip-content for tippy tooltip (#23649)
2023-03-24 18:35:38 +08:00
Powered by Gitea Version: 1.24.3 Page: 57ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API