unlock maxlength
This commit is contained in:
parent
d88c531b5b
commit
1e5e1ecf3d
1 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,10 @@ function editor_html($id, $content, $is_dhtml_editor = true)
|
|||
}
|
||||
|
||||
$smarteditor_class = $is_dhtml_editor ? "smarteditor2" : "";
|
||||
$html .= "\n<textarea id=\"$id\" name=\"$id\" class=\"$smarteditor_class\" maxlength=\"65536\" style=\"width:100%;height:300px\">$content</textarea>";
|
||||
if (!isset($is_admin)) {
|
||||
$maxlength = "maxlength=\"65536\" ";
|
||||
}
|
||||
$html .= "\n<textarea id=\"$id\" name=\"$id\" class=\"$smarteditor_class\" {$maxlength}style=\"width:100%;height:300px\">$content</textarea>";
|
||||
$html .= "\n<span class=\"sound_only\">웹 에디터 끝</span>";
|
||||
return $html;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue