CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'basic';
config.toolbar_basic =
[
['Bold', 'Italic','Underline','Strike', '-', '-', 'Link', 'Unlink','-', 'Styles','Format','Font','FontSize'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['TextColor','BGColor'],
[ '-', '-', 'Image', '-', '-' ],
];
config.toolbar_noadmin =
[
['Bold', 'Italic','Underline','Strike', '-', '-', 'Link', 'Unlink','-', 'Styles','Format','Font','FontSize'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['TextColor','BGColor'],
];
};<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<p>
<label for="texte">Texte: *</label><br/>
<TEXTAREA rows="10" cols="50" id="texte" name="texte" ></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'texte',
{
toolbar : 'noadmin'
});
</script>
</p> <p>
<label for="texte">Texte: *</label><br/>
<TEXTAREA rows="10" cols="50" id="texte" name="texte" ></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'texte',
{
filebrowserImageWindowWidth : '750',
filebrowserImageWindowHeight : '520',
filebrowserBrowseUrl : 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
filebrowserImageUploadUrl : 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'
});
</script>
</p>Edit: Funny thing: Now, no toolbar appears, CKeditor is launched, but no toolbar run ^^
