DHTML 에디터 사용일 경우에만 단축키 일람 버튼 표시
This commit is contained in:
1 parent
1c37791826
commit
3ccb78c011
1 file changed
+2
-1
@@ -8,7 +8,8 @@ function editor_html($id, $content, $ckeditor=true, $class="")
|
||||
|
||||
$html = "";
|
||||
$html .= "<span class=\"sound_only\">웹에디터 시작</span>";
|
||||
$html .= '<script>document.write("<div class=\'cke_sc\'><button type=\'button\' class=\'btn_cke_sc\'>단축키 일람</button></div>");</script>';
|
||||
if ($ckeditor)
|
||||
$html .= '<script>document.write("<div class=\'cke_sc\'><button type=\'button\' class=\'btn_cke_sc\'>단축키 일람</button></div>");</script>';
|
||||
|
||||
if ($js) {
|
||||
$html .= "\n".'<script src="'.G4_CKEDITOR_URL.'/ckeditor.js"></script>';
|
||||
|
||||
Reference in new issue
Block a user