ckeditor 적용
This commit is contained in:
1 parent
120be1872f
commit
1feeaba01d
269 files changed
+7849
-2
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
function editor_textarea($id, $content="", $class="")
|
||||
{
|
||||
global $g4;
|
||||
$upload_url = $g4['path']."/plugin/ckeditor/upload.php?type=Images";
|
||||
$str = "<textarea id=\"$id\" name=\"$id\" class=\"ckeditor $class\" rows=\"10\" style=\"width:100%;\">$content</textarea>\n";
|
||||
//$str .= "<script> CKEDITOR.replace('$id',{ filebrowserUploadUrl : '$upload_url'}); </script>\n";
|
||||
return $str;
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user