Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang
93eb914438
Improve markdown editor: width, height, preferred (#23895)
Follow #23876
1. Fine tune the heights of the editors (like before)
* Auto expand the editor (increase/decrease the height) when editing
2. Remember user's last used editor (textarea/easymde) in LocalStorage,
then next time the editor will be switched automatically
* No need to introduce extra config option, it satisfies all users,
including who prefer EasyMDE
3. Also fix the width problem of Review Panel
Screenshot:
<details>
![image](https://user-images.githubusercontent.com/2114189/229518585-2e05827e-8355-48f3-a20c-2c8b9e60ce74.png)
![image](https://user-images.githubusercontent.com/2114189/229518173-4caa6da7-6ad9-40e9-bf1a-ceddfcd4b37f.png)
![image](https://user-images.githubusercontent.com/2114189/229507886-148e9b84-9b58-46d1-ba3f-727e1396f476.png)
![image](https://user-images.githubusercontent.com/2114189/229518258-9f522294-1e64-4b06-91ab-ab43b0353aaa.png)
![image](https://user-images.githubusercontent.com/2114189/229507752-6d540ac7-7748-4bb6-bc09-28acab32d31b.png)
![image](https://user-images.githubusercontent.com/2114189/229510899-de322af5-57e8-4dc5-9a61-771a3b1bee79.png)
</details>
---------
Co-authored-by: silverwind <me@silverwind.io>
|
2 years ago |
.. |
admin
|
Clean template/helper.go (#23922)
|
2 years ago |
api/packages/pypi
|
Remove incorrect HTML self close tag (#23748)
|
2 years ago |
base
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
code
|
Use data-tooltip-content for tippy tooltip (#23649)
|
2 years ago |
custom
|
Add footer extra links template (#9576)
|
5 years ago |
devtest
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
explore
|
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766)
|
2 years ago |
mail
|
Remove incorrect HTML self close tag (#23748)
|
2 years ago |
org
|
Merge template functions "dict/Dict/mergeinto" (#23932)
|
2 years ago |
package
|
More specific and unique feed name for NuGet install command template. (#23889)
|
2 years ago |
projects
|
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
|
2 years ago |
repo
|
Improve markdown editor: width, height, preferred (#23895)
|
2 years ago |
shared
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
status
|
Remove incorrect HTML self close tag (#23748)
|
2 years ago |
swagger
|
Add activity feeds API (#23494)
|
2 years ago |
user
|
Merge template functions "dict/Dict/mergeinto" (#23932)
|
2 years ago |
home.tmpl
|
Improve home page template, fix Sort dropdown menu flash (#23856)
|
2 years ago |
install.tmpl
|
Remove incorrect HTML self close tag (#23748)
|
2 years ago |
post-install.tmpl
|
Remove incorrect HTML self close tag (#23748)
|
2 years ago |