diff --git a/bbs/write.php b/bbs/write.php index ccb072ce3..0c7b3abd7 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -203,7 +203,6 @@ if ($member['mb_level'] >= $board['bo_html_level']) $is_secret = $board['bo_use_secret']; $is_dhtml_editor = false; -$editor_html = editor_html('wr_content', $content, $is_dhtml_editor); $editor_js = ''; // 모바일에서는 DHTML 에디터 사용불가 if (!G4_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { @@ -211,6 +210,7 @@ if (!G4_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $bo $editor_js .= get_editor_js('wr_content', $is_dhtml_editor); $editor_js .= chk_editor_js('wr_content', $is_dhtml_editor); } +$editor_html = editor_html('wr_content', $content, $is_dhtml_editor); $is_mail = false; if ($config['cf_email_use'] && $board['bo_use_email'])