From 22547084de6dff03d9e245716e640d6f07b15eaf Mon Sep 17 00:00:00 2001 From: lmrwork <59361885@qq.com> Date: Fri, 9 Nov 2018 10:04:34 +0800 Subject: [PATCH] update editor v1 --- .../views/bootstrap3/information_edit.php | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php index e86e837e..d2fef1ac 100644 --- a/application/views/bootstrap3/information_edit.php +++ b/application/views/bootstrap3/information_edit.php @@ -465,8 +465,10 @@ } }); }); - - + //是否只使用构建工具 + if ($('#PcAmp input').is(':checked')) { + editor.readonly(true); + } //新闻日历 $(function () { @@ -555,21 +557,16 @@ HTML构建工具 | amp_status === '1') { ?>