fckconfig.js dosyasını açın
FCKConfig.EnterMode = 'p' ; // p | div | br
bölümünü
FCKConfig.EnterMode = 'br' ; // p | div | br
olarak değiştirip kaydedin, bu kadar...
Cok tesekur ederim, bende yenicek fckeditor'u yapmayi basardim dediginizi yaparim yarin gec oldu simdi,
fckeditor.com'dan indirip /fckeditor/ ftp atip, altaki kodlari sayfaniza koymalisiniz
Alıntı
<?php include("fckeditor/fckeditor.php") ;?>
<?php
$oFCKeditor = new FCKeditor('mesaj');
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->Value = 'Default text in editor';
$oFCKeditor->Create();
?>
Örnek syafa:
Alıntı
<?php include("fckeditor/fckeditor.php") ;?>
<table border="1" width="100%">
<form method="POST" action="postaction.php">
<tr>
<td width="41" height="93">Mesaj:</td>
<td height="93">
<?php
$oFCKeditor = new FCKeditor('mesaj');
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->Value = 'Default text in editor';
$oFCKeditor->Create();
?>
<p> </td>
</tr>
<tr>
<td width="41" height="42"> </td>
<td height="42"><input type="submit" value="Gönder" name="B2"><input type="reset" value="Sifirla" name="B3"></td>
</tr>
</form>
</table>
$oFCKeditor = new FCKeditor('mesaj');
bu satirdaki "mesaj" textarea'da name kismidir