From 5fdc84841af585df302ed7e2ddbb8881cc1ba4d4 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 5 Dec 2025 02:21:24 +0100 Subject: [PATCH] Add strikethrough button to markdown editor (#36087) Fixes: https://github.com/go-gitea/gitea/issues/36086 ![strike](https://github.com/user-attachments/assets/984e36db-6fa8-4054-9794-aa54bc642354) --- options/locale/locale_en-US.ini | 1 + templates/shared/combomarkdowneditor.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 6712250924..981d9de2f8 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -215,6 +215,7 @@ more = More buttons.heading.tooltip = Add heading buttons.bold.tooltip = Add bold text buttons.italic.tooltip = Add italic text +buttons.strikethrough.tooltip = Add strikethrough text buttons.quote.tooltip = Quote text buttons.code.tooltip = Add code buttons.link.tooltip = Add a link diff --git a/templates/shared/combomarkdowneditor.tmpl b/templates/shared/combomarkdowneditor.tmpl index fa3e6c6ade..62a42552ae 100644 --- a/templates/shared/combomarkdowneditor.tmpl +++ b/templates/shared/combomarkdowneditor.tmpl @@ -43,6 +43,7 @@
{{svg "octicon-bold"}} {{svg "octicon-italic"}} + {{svg "octicon-strikethrough"}}
{{svg "octicon-quote"}}