Signed-off-by: marco.tngl.sh dev@marco.social
+1
appview/pages/templates/repo/issues/fragments/editIssueComment.html
+1
appview/pages/templates/repo/issues/fragments/editIssueComment.html
···
22
22
<button
23
23
class="btn-create py-0 flex gap-1 items-center group text-sm"
24
24
hx-post="/{{ .RepoInfo.FullName }}/issues/{{ .Issue.IssueId }}/comment/{{ .Comment.Id }}/edit"
25
+
hx-trigger="click, keydown[(ctrlKey || metaKey) && key=='Enter'] from:#edit-textarea-{{ .Comment.Id }}"
25
26
hx-include="#edit-textarea-{{ .Comment.Id }}"
26
27
hx-target="#comment-body-{{ .Comment.Id }}"
27
28
hx-swap="outerHTML">
History
2 rounds
1 comment
marco.tngl.sh
submitted
#1
1 commit
expand
collapse
appview/editIssueComment: add submit shortcut
Signed-off-by: marco.tngl.sh <dev@marco.social>
expand 0 comments
pull request successfully merged
marco.tngl.sh
submitted
#0
1 commit
expand
collapse
appview/editIssueComment: add submit shortcut
Signed-off-by: marco.tngl.sh <dev@marco.social>
lgtm!