mirror of
https://gitee.com/gitea/gitea
synced 2025-11-09 19:10:27 +08:00
Backport #26510 by @wxiaoguang The editor usually is in a form, so the buttons should have "type=button", avoid conflicting with the form's submit. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>