mirror of
https://github.com/go-gitea/gitea
synced 2025-02-13 03:17:01 +01: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>