From 6dce8672abcf27c8ffa33c8b5a762931f4aa833a Mon Sep 17 00:00:00 2001 From: Yasumichi Akahoshi Date: Sun, 8 Feb 2026 19:27:46 +0900 Subject: [PATCH] add markdown toolbar to comment (#3952) --- .../gitbucket/core/helper/preview.scala.html | 93 ++++++- src/main/webapp/assets/common/js/textarea.js | 262 ++++++++++++++++++ 2 files changed, 354 insertions(+), 1 deletion(-) create mode 100644 src/main/webapp/assets/common/js/textarea.js diff --git a/src/main/twirl/gitbucket/core/helper/preview.scala.html b/src/main/twirl/gitbucket/core/helper/preview.scala.html index 6a2cb0fc2..5b57bd690 100644 --- a/src/main/twirl/gitbucket/core/helper/preview.scala.html +++ b/src/main/twirl/gitbucket/core/helper/preview.scala.html @@ -16,9 +16,26 @@ uid: Long = new java.util.Date().getTime())(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers
-