diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-08 01:03:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 13:03:29 -0400 |
commit | 93eb914438fcec234842ed626278fecab3fefba6 (patch) | |
tree | 7d8800032322a64f3d07e151dcf32a2e732ec970 /web_src/css/explore.css | |
parent | 97d5ec2aeb4a3718a5f27aa4ad608e1a0e3a94b4 (diff) | |
download | gitea-93eb914438fcec234842ed626278fecab3fefba6.tar.gz gitea-93eb914438fcec234842ed626278fecab3fefba6.zip |
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>
Diffstat (limited to 'web_src/css/explore.css')
0 files changed, 0 insertions, 0 deletions