forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js/features/comp
yp05327 c4303efc23
Support markdown editor for issue template (#24400)
Fixes #24398

Task:
- [x] Reusing "textarea" like GitHub seems more friendly to users.
- [x] ^V image pasting and file uploading handling.

<details><summary>screenshots</summary>


![image](https://user-images.githubusercontent.com/18380374/235418877-00090552-ebda-411c-8e39-b47246bc8746.png)

![image](https://user-images.githubusercontent.com/18380374/235419073-dc33cad7-7626-4bce-9161-eb205c7384b5.png)
Display only one markdown editor:

![image](https://user-images.githubusercontent.com/18380374/235419098-ee21386d-2b2d-432e-bdb2-18646cc031e7.png)
Support file upload and ^V image pasting

![image](https://user-images.githubusercontent.com/18380374/235419364-7b390fa4-da56-437d-b55e-3847fbc049e7.png)

</details>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2023-05-08 22:22:52 +00:00
..
ColorPicker.js JS refactors (#22227) 2022-12-24 00:03:11 +08:00
ComboMarkdownEditor.js Support markdown editor for issue template (#24400) 2023-05-08 22:22:52 +00:00
EasyMDEToolbarActions.js Fix EasyMDE toolbar (#24489) 2023-05-03 01:23:39 -04:00
ImagePaste.js Support markdown editor for issue template (#24400) 2023-05-08 22:22:52 +00:00
LabelEdit.js Scoped labels: set aria-disabled on muted Exclusive option for a11y (#23306) 2023-03-05 21:25:25 +08:00
QuickSubmit.js Support markdown editor for issue template (#24400) 2023-05-08 22:22:52 +00:00
ReactionSelector.js Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
SearchUserBox.js Add option to search for users is active join a team (#24093) 2023-04-14 14:48:36 -04:00
TextExpander.js Support markdown editor for issue template (#24400) 2023-05-08 22:22:52 +00:00
WebHookEditor.js Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00