浏览代码

js: remove Preview, Full Screen and Side-by-side buttons for repository file editing (#4402)

Unknwon 7 年之前
父节点
当前提交
6ea9642d64
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/js/gogs.js

+ 1 - 1
public/js/gogs.js

@@ -627,7 +627,7 @@ function setSimpleMDE($editArea) {
             "code", "quote", "|",
             "unordered-list", "ordered-list", "|",
             "link", "image", "table", "horizontal-rule", "|",
-            "clean-block", "preview", "fullscreen", "side-by-side"]
+            "clean-block"]
     });
 
     return true;