Monorepo for Tangled

appview/editIssueComment: add submit shortcut

Signed-off-by: marco.tngl.sh <dev@marco.social>

authored by

marco.tngl.sh and committed by tangled.org 3aa55530 0b197624

+1
+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">