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.
23bd7b1211
* Add copy button to markdown code blocks Done mostly in JS because I think it's better not to try getting buttons past the markup sanitizer. * add svg module tests * fix sanitizer regexp * remove outdated comment * vertically center button in issue comments as well * add comment to css * fix undefined on view file line copy * combine animation less files * Update modules/markup/markdown/markdown.go Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> * add test for different sizes * add cloneNode and add tests for it * use deep clone * remove useless optional chaining * remove the svg node cache * unify clipboard copy string and i18n * remove unused var * remove unused localization * minor css tweaks to the button * comment tweak * remove useless attribute Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
3 years ago | |
---|---|---|
.. | ||
branch | 3 years ago | |
diff | 3 years ago | |
editor | 3 years ago | |
graph | 3 years ago | |
issue | 3 years ago | |
migrate | 3 years ago | |
projects | 3 years ago | |
pulls | 3 years ago | |
release | 3 years ago | |
settings | 3 years ago | |
wiki | 3 years ago | |
activity.tmpl | 3 years ago | |
blame.tmpl | 3 years ago | |
branch_dropdown.tmpl | 3 years ago | |
clone_buttons.tmpl | 3 years ago | |
commit_page.tmpl | 3 years ago | |
commit_status.tmpl | 4 years ago | |
commit_statuses.tmpl | 4 years ago | |
commits.tmpl | 3 years ago | |
commits_list.tmpl | 3 years ago | |
commits_list_small.tmpl | 3 years ago | |
commits_table.tmpl | 3 years ago | |
create.tmpl | 3 years ago | |
empty.tmpl | 3 years ago | |
forks.tmpl | 4 years ago | |
graph.tmpl | 3 years ago | |
header.tmpl | 3 years ago | |
home.tmpl | 3 years ago | |
icon.tmpl | 4 years ago | |
search.tmpl | 3 years ago | |
shabox_badge.tmpl | 4 years ago | |
sub_menu.tmpl | 3 years ago | |
upload.tmpl | 3 years ago | |
user_cards.tmpl | 4 years ago | |
view_file.tmpl | 3 years ago | |
view_list.tmpl | 3 years ago | |
watchers.tmpl | 4 years ago |