mirror of
1
Fork 0
forgejo/templates/repo/issue/view_content
silverwind 37205039fc
Replace clipboard.js with async clipboard api (#15899)
Use async clipboard api [1] over this dependency, saving around 10kB
bundle size before minify while delivering the same functionality.

The issue comment button works but does not have a popup indication. We
could add some toast-style notifications in the future to fix that but I
think it's out of scope of this PR.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText
2021-05-30 20:15:57 +01:00
..
add_reaction.tmpl Align dropdown right (#14406) 2021-01-20 02:08:21 +01:00
attachments.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
comments.tmpl Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
comments_delete_time.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
context_menu.tmpl Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
pull.tmpl Add links to toggle WIP status (#14677) 2021-05-27 22:02:04 +02:00
reactions.tmpl Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
reference_issue_dialog.tmpl Comment - Reference in new issue (#14366) 2021-01-21 14:51:17 +01:00
sidebar.tmpl Add links to toggle WIP status (#14677) 2021-05-27 22:02:04 +02:00