First, PHP calls the FCKeditor method.
Second, JS call FCKeditor method.
Copy the Code code as follows:
Require_once (Path_pre. " Fckeditor.php "); Contains the FCKeditor class,
$oFCKeditor = new FCKeditor (' content '); Create a FCKeditor object with the name of the form content
$oFCKeditor->basepath= ". /fckeditor/"; directory where the editor is located
$oFCKeditor->toolbarset= "Yiyunnet"; The Default Editor toolbar has basic (Basic tools) default (all tools) Soft (you can insert a picture video in one column) Renpeng (can upload picture video into two columns) full (three columns)
$oFCKeditor->height= ' 100% '; Height
$oFCKeditor->width= ' 100% '; Width
$oFCKeditor->value= ""; The initial value can also be set in the following section (the "=" contains part), not necessarily:
$oFCKeditor->config[' skinpath ') = '. /editor/skins/silver/'; Settings Editor Skin There are three kinds of skin default
$oFCKeditor->create (); Output the value of the variable $myeditor where you want to display the editor.
?>
FCKeditor js Call Method One
Copy the Code code as follows:
FCKeditor js Call Method Two
Copy the Code code as follows:
The above describes the Ueditor PHP installation configuration FCKeditor Editor, including the ueditor aspect of the content, I hope that the PHP tutorial interested in a friend helpful.