Ниже приведенны примеры подключения некоторых редакторов.Всё они подключались согласно, их юзер-хелпу. Пояснения : $WYSFORM - название поля, тэг NAME. $WYSVALUE - содержание поля, тэг VALUE.
// EXAMPLE Spaw PHP WYSIWYG Editor // WORK TO v.1.1 RC1 require_once( "editor/spaw/spaw_control.class.php" ); $sw = new SPAW_Wysiwyg ( $WYSFORM , // name $WYSVALUE , // value '' , // language 'default' , // toolbar modes '' , // theme '100%' , // width '200px' , // height '' , // stylesheet file '' // down data ); $sw -> show ();
// EXAMPLE FCKeditor PHP WYSIWYG EDITOR require_once("editor/fckeditor/fckeditor.php"); $oFCKeditor = new FCKeditor($WYSFORM); $oFCKeditor->BasePath = 'editor/fckeditor/'; $oFCKeditor->Width = '100%'; $oFCKeditor->Height = '350'; $oFCKeditor->Value = $WYSVALUE; $oFCKeditor->Create();