diff --git a/mobile/shop/itemqaform.php b/mobile/shop/itemqaform.php index e0e338263..1b81501f5 100644 --- a/mobile/shop/itemqaform.php +++ b/mobile/shop/itemqaform.php @@ -44,7 +44,7 @@ include_once(G5_PATH.'/head.sub.php'); $is_dhtml_editor = false; // 모바일에서는 DHTML 에디터 사용불가 -if ($config['cf_editor'] && !G5_IS_MOBILE) { +if ($config['cf_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) { $is_dhtml_editor = true; } $editor_html = editor_html('iq_question', get_text($qa['iq_question'], 0), $is_dhtml_editor); diff --git a/mobile/shop/itemuseform.php b/mobile/shop/itemuseform.php index 3792c9463..2063d7eb1 100644 --- a/mobile/shop/itemuseform.php +++ b/mobile/shop/itemuseform.php @@ -39,7 +39,7 @@ include_once(G5_PATH.'/head.sub.php'); $is_dhtml_editor = false; // 모바일에서는 DHTML 에디터 사용불가 -if ($config['cf_editor'] && !G5_IS_MOBILE) { +if ($config['cf_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) { $is_dhtml_editor = true; } $editor_html = editor_html('is_content', get_text($use['is_content'], 0), $is_dhtml_editor); diff --git a/shop/itemqaform.php b/shop/itemqaform.php index 0ac3e9dfb..c6e58922d 100644 --- a/shop/itemqaform.php +++ b/shop/itemqaform.php @@ -50,7 +50,7 @@ include_once(G5_PATH.'/head.sub.php'); $is_dhtml_editor = false; // 모바일에서는 DHTML 에디터 사용불가 -if ($config['cf_editor'] && !G5_IS_MOBILE) { +if ($config['cf_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) { $is_dhtml_editor = true; } $editor_html = editor_html('iq_question', get_text($qa['iq_question'], 0), $is_dhtml_editor); diff --git a/shop/itemuseform.php b/shop/itemuseform.php index 08d9e5933..eb9fcf5e4 100644 --- a/shop/itemuseform.php +++ b/shop/itemuseform.php @@ -45,7 +45,7 @@ include_once(G5_PATH.'/head.sub.php'); $is_dhtml_editor = false; // 모바일에서는 DHTML 에디터 사용불가 -if ($config['cf_editor'] && !G5_IS_MOBILE) { +if ($config['cf_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) { $is_dhtml_editor = true; } $editor_html = editor_html('is_content', get_text($use['is_content'], 0), $is_dhtml_editor);