summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-wiki.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-03 07:23:39 +0200
committerGitHub <noreply@github.com>2023-05-03 01:23:39 -0400
commita9ed87ce4a8a529ce451e11ebbff45a178677a62 (patch)
treebc9515f01f0530ab288e411e75f53f7326317f55 /web_src/js/features/repo-wiki.js
parent3ae997614ad4125d0ef40a528157dba01522c8e0 (diff)
downloadgitea-a9ed87ce4a8a529ce451e11ebbff45a178677a62.tar.gz
gitea-a9ed87ce4a8a529ce451e11ebbff45a178677a62.zip
Fix EasyMDE toolbar (#24489)
Fixes https://github.com/go-gitea/gitea/issues/24486 The "clean block" button is gone because I could not find a matching octicon. Order of buttons is roughly equal to textarea. <img width="824" alt="Screenshot 2023-05-02 at 21 10 00" src="https://user-images.githubusercontent.com/115237/235762593-ceccb260-e665-4932-ac8a-ef6fe8406a3c.png"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/js/features/repo-wiki.js')
-rw-r--r--web_src/js/features/repo-wiki.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-wiki.js b/web_src/js/features/repo-wiki.js
index 09202a303c..c37da45994 100644
--- a/web_src/js/features/repo-wiki.js
+++ b/web_src/js/features/repo-wiki.js
@@ -58,7 +58,7 @@ async function initRepoWikiFormEditor() {
'gitea-code-inline', 'code', 'quote', '|', 'gitea-checkbox-empty', 'gitea-checkbox-checked', '|',
'unordered-list', 'ordered-list', '|',
'link', 'image', 'table', 'horizontal-rule', '|',
- 'clean-block', 'preview', 'fullscreen', 'side-by-side', '|', 'gitea-switch-to-textarea'
+ 'preview', 'fullscreen', 'side-by-side', '|', 'gitea-switch-to-textarea'
],
},
});