From 6dd6379cbf7998a1f219683d7cdfbcf3667bfe84 Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Sat, 23 Nov 2024 16:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0markdown=E6=B8=B2=E6=9F=93?= =?UTF-8?q?=EF=BC=8C=E5=90=8C=E6=97=B6=E5=85=B3=E9=97=ADMD=E4=BC=9A?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E9=BB=98=E8=AE=A4=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E7=9A=84=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/admin/kindeditor.php | 6 +++--- web/include/db_info.inc.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/admin/kindeditor.php b/web/admin/kindeditor.php index f54c10f..8c62474 100644 --- a/web/admin/kindeditor.php +++ b/web/admin/kindeditor.php @@ -15,9 +15,9 @@ allowFileManager : false, filterMode:false, cssData: 'body { font-family:"Consolas";font-size: 18px;line-height:150% } ', - +// afterCreate : function() { var self = this; diff --git a/web/include/db_info.inc.php b/web/include/db_info.inc.php index f3c2e01..98ebe8b 100644 --- a/web/include/db_info.inc.php +++ b/web/include/db_info.inc.php @@ -85,7 +85,7 @@ static $OJ_RANK_HIDDEN="'admin','super','szx','sen'"; // 管理员不显示在 static $OJ_FRIENDLY_LEVEL=0; //系统友好级别,暂定0-9级,级别越高越傻瓜,系统易用度高的同时将降低安全性,仅供非专业用途,造成泄题、抄袭概不负责。 static $OJ_FREE_PRACTICE=true; //自由练习,不受比赛作业用题限制 static $OJ_SUBMIT_COOLDOWN_TIME=1; //提交冷却时间,连续两次提交的最小间隔,单位秒。 -static $OJ_MARKDOWN=false; // 开启MARKDOWN,开启后在后台编辑题目时默认为源码模式,用[md] # Markdown [/md] 格式插入markdown代码, 如果需要用到[]也可以用