You cannot 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
|
Convert `<div class="button">` to `<button class="button">` (#23337)
|
2 years ago |
comp
|
Improve markdown editor: width, height, preferred (#23895)
|
2 years ago |
captcha.js
|
Add new captcha: cloudflare turnstile (#22369)
|
2 years ago |
citation.js
|
Fix switched citation format (#23250)
|
2 years ago |
clipboard.js
|
Use clippie module to copy to clipboard (#23801)
|
2 years ago |
codeeditor.js
|
Allow new file and edit file preview if it has editable extension (#23624)
|
2 years ago |
colorpicker.js
|
JS refactors (#22227)
|
2 years ago |
common-global.js
|
Fix dropdown direction behavior (#23806)
|
2 years ago |
common-organization.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
contextpopup.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
copycontent.js
|
Use clippie module to copy to clipboard (#23801)
|
2 years ago |
dropzone.js
|
JS refactors (#22227)
|
2 years ago |
emoji.js
|
JS refactors (#22227)
|
2 years ago |
eventsource.sharedworker.js
|
Fix the JS error "EventSource is not defined" caused by some non-standard browsers (#20584)
|
3 years ago |
file-fold.js
|
Scroll collapsed file into view (#23702)
|
2 years ago |
formatting.js
|
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
|
2 years ago |
heatmap.js
|
JS refactors (#22227)
|
2 years ago |
imagediff.js
|
Fix various ImageDiff/SVG bugs (#23312)
|
2 years ago |
install.js
|
Fix various bugs for "install" page (#23194)
|
2 years ago |
notification.js
|
Move helpers to be prefixed with `gt-` (#22879)
|
2 years ago |
org-team.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
pull-view-file.js
|
Replace unstyled meter with progress (#19968)
|
3 years ago |
repo-branch.js
|
Add apply-patch, basic revert and cherry-pick functionality (#17902)
|
3 years ago |
repo-code.js
|
Use clippie module to copy to clipboard (#23801)
|
2 years ago |
repo-code.test.js
|
Ignore line anchor links with leading zeroes (#21728)
|
2 years ago |
repo-commit.js
|
Fix hidden commit status on multiple checks (#22889)
|
2 years ago |
repo-common.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-diff-filetree.js
|
JS refactors (#22227)
|
2 years ago |
repo-diff.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
repo-editor.js
|
Editor preview support for external renderers (#23333)
|
2 years ago |
repo-findfile.js
|
Refactor branch/tag selector to Vue SFC (#23421)
|
2 years ago |
repo-findfile.test.js
|
Refactor branch/tag selector to Vue SFC (#23421)
|
2 years ago |
repo-graph.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-home.js
|
Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626)
|
2 years ago |
repo-issue-content.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-issue-list.js
|
Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890)
|
2 years ago |
repo-issue-pr-form.js
|
JS refactors (#22227)
|
2 years ago |
repo-issue.js
|
Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890)
|
2 years ago |
repo-legacy.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
repo-migrate.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-migration.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-projects.js
|
Sync the class change of Edit Column Button to JS code (#23400)
|
2 years ago |
repo-release.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
repo-settings.js
|
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown (#19861)
|
3 years ago |
repo-template.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-unicode-escape.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
repo-wiki.js
|
Improve markdown editor: width, height, preferred (#23895)
|
2 years ago |
serviceworker.js
|
JS refactors (#22227)
|
2 years ago |
sshkey-helper.js
|
Use explicit jQuery import, remove unused eslint globals (#18435)
|
3 years ago |
stopwatch.js
|
Move helpers to be prefixed with `gt-` (#22879)
|
2 years ago |
tablesort.js
|
JS refactors (#22227)
|
2 years ago |
tribute.js
|
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
|
2 years ago |
user-auth-webauthn.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
user-auth.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
user-settings.js
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |