to jest w head
Kod
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'short' );
oFCKeditor.BasePath = "/FCKeditor/";
oFCKeditor.ReplaceTextarea();
var oFCKeditor = new FCKeditor( 'editor' );
oFCKeditor.BasePath = "/FCKeditor/";
oFCKeditor.ReplaceTextarea();
}
</script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'short' );
oFCKeditor.BasePath = "/FCKeditor/";
oFCKeditor.ReplaceTextarea();
var oFCKeditor = new FCKeditor( 'editor' );
oFCKeditor.BasePath = "/FCKeditor/";
oFCKeditor.ReplaceTextarea();
}
</script>
to jest w teatarea
Kod
<table cellpadding="1" cellspacing="0" style="border: 1px #666666 solid" width="100%">
<tr><td><textarea id="short" name="text" style="width: 100%; height: 200px">'.$text.'</textarea></td>
</tr></table>
<tr><td><textarea id="short" name="text" style="width: 100%; height: 200px">'.$text.'</textarea></td>
</tr></table>
Nie wiem czy w tym jest problem ale moze ktos juz robił integracje z tym edytorem dziękuje bardzo za pomoc
