From eb82900b12c49f4c094df44effee0dcd0cfd31d9 Mon Sep 17 00:00:00 2001 From: dingyongliang Date: Thu, 6 Jul 2023 09:42:46 +0800 Subject: [PATCH] * zin: update editor props. --- lib/zin/wg/editor/v1.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/zin/wg/editor/v1.php b/lib/zin/wg/editor/v1.php index 4cacebd89b..b09e836131 100644 --- a/lib/zin/wg/editor/v1.php +++ b/lib/zin/wg/editor/v1.php @@ -6,11 +6,11 @@ require_once dirname(__DIR__) . DS . 'textarea' . DS . 'v1.php'; class editor extends wg { protected static $defineProps = array( - 'createInput?: bool=false', // 是否创建一个隐藏的 input 存储编辑器内容 + 'createInput?: bool=true', // 是否创建一个隐藏的 input 存储编辑器内容 'uploadUrl?: string=""', // 图片上传链接 'placeholder?: string=""', // 占位文本 - 'fullscreenable?: bool=false', // 是否可全屏 - 'resizable?: bool=false', // 是否可自适应 + 'fullscreenable?: bool=true', // 是否可全屏 + 'resizable?: bool=true', // 是否可自适应 'exposeEditor?: bool=true', // 是否将编辑器实例挂载到 window 'size?: string="sm"', // 尺寸 'hideMenubar?: bool=false', // 是否隐藏 menubar