From 96d162d11f5347dd24d544a790dcab7221320f0e Mon Sep 17 00:00:00 2001 From: wolfcode <37436228+wolf-leo@users.noreply.github.com> Date: Thu, 18 Jul 2024 12:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=97=B6=E4=BF=AE=E6=AD=A3=E4=BA=86common.ph?= =?UTF-8?q?p=E4=B8=AD=E7=BC=96=E8=BE=91=E5=99=A8=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E7=9A=84=E5=88=86=E9=85=8D=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根据编辑器类型(ckeditor、wangEditor、ueditor),现在正确地分配了相应的HTML结构。 之前默认分配给wangEditor的div结构,在编辑器类型为ueditor时会出现问题,现在已将其修正为正确的script标签结构。 同时,也对ckeditor的textarea标签进行了样式修正。 --- app/common.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/common.php b/app/common.php index 087e26e..271182e 100644 --- a/app/common.php +++ b/app/common.php @@ -110,9 +110,9 @@ if (!function_exists('auth')) { { $editor_type = sysConfig('site', 'editor_type'); return match ($editor_type) { - 'ckeditor' => "", - 'wangEditor' => "