Alhoewel mijn FCKeditor uitstekend werkt krijg ik op de een of andere manier niet de toolbar te zien terwijl ik die wel aanroep:
include("FCKeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('tekst');
$oFCKeditor->BasePath = 'FCKeditor/';
$oFCKeditor->Width = '800';
$oFCKeditor->Height = '400';
$oFCKeditor->ToolbarSet = "Default";
$oFCKeditor->Value = $edit['tekst'];
$oFCKeditor->Create();
in fckconfig.js:
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','-','About']
] ;
Wat doe ik fout? Wat zie ik over het hoofd? Iemand een idee?
1.697 views