From 390aa5c38130213131edb3d3fc901e575e00b442 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Fri, 19 Jul 2024 16:52:50 +0900 Subject: [PATCH 1/2] Change comment to '// u' for Underline button The button inserts markup for underlined text. This markup is eventually converted to HTML, which uses the tag. Therefore, the comment has been changed from '// ins' to '// u'. --- app/assets/javascripts/jstoolbar/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/jstoolbar/markdown.js b/app/assets/javascripts/jstoolbar/markdown.js index 62ad4674a..7772b48eb 100644 --- a/app/assets/javascripts/jstoolbar/markdown.js +++ b/app/assets/javascripts/jstoolbar/markdown.js @@ -26,7 +26,7 @@ jsToolBar.prototype.elements.em = { } } -// ins +// u jsToolBar.prototype.elements.ins = { type: 'button', title: 'Underline', -- 2.45.2