Fckeditor הוא עורך Wysiwyg.
CMS = מערכת ניהול תוכן.
שילוב העורך בדף
HTML קוד:
<script type="text/javascript" src="../FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
<!--
var oFCKeditor = new FCKeditor( 'text' ) ;
oFCKeditor.BasePath = './FCKeditor/' ;
oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ;
oFCKeditor.Create() ;
//-->
</script>
בשורה הזאת תשנה את הsrc לאיפה שנמצא הקובץ fckeditor.js אצלך.
HTML קוד:
<script type="text/javascript" src="../FCKeditor/fckeditor.js"></script>
בשורה הזאת הtext מציין את השם של התיבת טקסט
HTML קוד:
var oFCKeditor = new FCKeditor( 'text' ) ;
בשורה הזאת תשנה למיקום של התיקייה בה שמת את הקבצים של העורך
HTML קוד:
oFCKeditor.BasePath = './FCKeditor/' ;
בשורה הזאת, זה הערך שיהיה בתוך התיבת טקסט
HTML קוד:
oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ;
את כל הקוד אתה מכניס בין תגי הbody