0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 15:52:05 +01:00
gitea/web_src/js/features
wxiaoguang 5cc0801de9
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876)
The first step of the plan

* #23290

Thanks to @silverwind for the first try in #15394 . Close #10729 and a
lot of related issues.

The EasyMDE is not removed, now it works as a fallback, users can switch
between these two editors.

Editor list:

* Issue / PR comment
* Issue / PR comment edit
* Issue / PR comment quote reply
* PR diff view, inline comment
* PR diff view, inline comment edit
* PR diff view, inline comment quote reply
* Release editor
* Wiki editor

Some editors have attached dropzone

Screenshots:

<details>


![image](https://user-images.githubusercontent.com/2114189/229363558-7e44dcd4-fb6d-48a0-92f8-bd12f57bb0a0.png)


![image](https://user-images.githubusercontent.com/2114189/229363566-781489c8-5306-4347-9714-d71af5d5b0b1.png)


![image](https://user-images.githubusercontent.com/2114189/229363771-1717bf5c-0f2a-4fc2-ba84-4f5b2a343a11.png)


![image](https://user-images.githubusercontent.com/2114189/229363793-ad362d0f-a045-47bd-8f9d-05a9a842bb39.png)

</details>

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-04-03 18:06:57 +08:00
..
admin
comp Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
captcha.js
citation.js
clipboard.js Use clippie module to copy to clipboard (#23801) 2023-04-02 17:25:36 +08:00
codeeditor.js Allow new file and edit file preview if it has editable extension (#23624) 2023-03-26 13:25:41 +08:00
colorpicker.js
common-global.js Fix dropdown direction behavior (#23806) 2023-03-30 13:53:51 -04:00
common-issue.js Convert issue list checkboxes to native (#23596) 2023-03-30 11:02:47 -04:00
common-organization.js
contextpopup.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
copycontent.js Use clippie module to copy to clipboard (#23801) 2023-04-02 17:25:36 +08:00
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
formatting.js
heatmap.js
imagediff.js
install.js
notification.js
org-team.js
pull-view-file.js
repo-branch.js
repo-code.js Use clippie module to copy to clipboard (#23801) 2023-04-02 17:25:36 +08:00
repo-code.test.js
repo-commit.js
repo-common.js
repo-diff-filetree.js
repo-diff.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
repo-editor.js Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
repo-findfile.js
repo-findfile.test.js
repo-graph.js
repo-home.js Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
repo-issue-content.js
repo-issue-pr-form.js
repo-issue.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
repo-legacy.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
repo-migrate.js
repo-migration.js
repo-projects.js
repo-release.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
repo-settings.js
repo-template.js
repo-unicode-escape.js
repo-wiki.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
serviceworker.js
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
user-auth-webauthn.js
user-auth.js
user-settings.js