From 1e5e1ecf3df1b01541c0a68b5479399c27c6addb Mon Sep 17 00:00:00 2001 From: Arcturus Date: Fri, 22 Nov 2024 01:10:40 +0900 Subject: [PATCH] unlock maxlength --- AvocadoAmber/plugin/editor/smarteditor2/editor.lib.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AvocadoAmber/plugin/editor/smarteditor2/editor.lib.php b/AvocadoAmber/plugin/editor/smarteditor2/editor.lib.php index 0d9f61e..483366f 100644 --- a/AvocadoAmber/plugin/editor/smarteditor2/editor.lib.php +++ b/AvocadoAmber/plugin/editor/smarteditor2/editor.lib.php @@ -71,7 +71,10 @@ function editor_html($id, $content, $is_dhtml_editor = true) } $smarteditor_class = $is_dhtml_editor ? "smarteditor2" : ""; - $html .= "\n"; + if (!isset($is_admin)) { + $maxlength = "maxlength=\"65536\" "; + } + $html .= "\n"; $html .= "\n웹 에디터 끝"; return $html; }