The administration panel and web client for ParEdu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
939 B

$(function () {
//CKEditor
CKEDITOR.replace('ckeditor');
CKEDITOR.config.height = 300;
//TinyMCE
tinymce.init({
selector: "textarea#tinymce",
theme: "modern",
height: 300,
plugins: [
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime media nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools'
],
toolbar1: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
toolbar2: 'print preview media | forecolor backcolor emoticons',
image_advtab: true
});
tinymce.suffix = ".min";
tinyMCE.baseURL = '../../plugins/tinymce';
});