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.
gitea/templates
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>
2 years ago
..
admin Rewrite queue (#24505) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Improve template system and panic recovery (#24461) 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 Improve some modal action buttons (#24289) 2 years ago
explore Change `join_on` translation to `joined_on` and include placeholder for the date (#24550) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Revert "Prevent a user with a different email from accepting the team invite" (#24531) 2 years ago
package Add RPM registry (#23380) 2 years ago
projects Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2 years ago
repo Support markdown editor for issue template (#24400) 2 years ago
shared Change `add_on` translation to `added_on` and include placeholder for the date (#24562) 2 years ago
status Improve template system and panic recovery (#24461) 2 years ago
swagger Add RPM registry (#23380) 2 years ago
user Add goto issue id function (#24479) 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