Index: lams_central/web/includes/javascript/ckconfig_custom.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/ckconfig_custom.js,v diff -u -r1.28 -r1.29 --- lams_central/web/includes/javascript/ckconfig_custom.js 15 Sep 2015 16:24:07 -0000 1.28 +++ lams_central/web/includes/javascript/ckconfig_custom.js 18 Sep 2015 23:26:48 -0000 1.29 @@ -1,7 +1,7 @@ CKEDITOR.config.toolbar_Default = [ - ['Source','-','Maximize', 'Preview','PasteFromWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Mathjax','-'], + ['Source','-','Maximize', 'Preview','PasteFromWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath','-'], ['Paint_Button','MoviePlayer','Kaltura','Image','Link','Iframe','Table','HorizontalRule','Smiley','SpecialChar','Templates','Format','Font','FontSize','About'] -] ; +]; // removing Video Recorder from default tool bar LDEV-2961 // To include it back, just add 'VideoRecorder' in between the MoviePlayer and Kaltura @@ -11,23 +11,23 @@ ['Bold','Italic','Underline', '-','Subscript','Superscript'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], - ['Mathjax','About'], + ['Jlatexmath','About'], ['TextColor','BGColor'], ['Image','Table','HorizontalRule','Smiley','SpecialChar'], ['Format','Font','FontSize'] -] ; +]; CKEDITOR.config.toolbar_DefaultMonitor = [ ['Preview','PasteFromWord'], ['Undo','Redo'], ['Bold','Italic','Underline', '-','Subscript','Superscript'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], - ['Mathjax','About'], + ['Jlatexmath','About'], ['TextColor','BGColor'], ['Table','HorizontalRule','Smiley','SpecialChar'], ['Format','Font','FontSize'] -] ; +]; CKEDITOR.config.toolbar_CustomWiki = [ ['Source','-','Preview','PasteFromWord'], @@ -36,16 +36,16 @@ ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['wikilink','Link','Image'], - ['Mathjax','About'], + ['Jlatexmath','About'], ['TextColor','BGColor'], ['Table','HorizontalRule','Smiley','SpecialChar'], ['Format','Font','FontSize'] -] ; +]; CKEDITOR.config.toolbar_CustomPedplanner = [ - ['Source','-','Maximize','Preview','PasteFromWord','Bold','Italic','Underline', '-','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Mathjax'], + ['Source','-','Maximize','Preview','PasteFromWord','Bold','Italic','Underline', '-','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath'], ['Image','Link','Iframe','Table','Smiley','Font','FontSize'] -] ; +]; CKEDITOR.config.toolbar_LessonDescription = [ ['Bold','Italic','Underline', '-','Subscript','Superscript'], @@ -54,7 +54,7 @@ ['TextColor','BGColor'], ['Table','HorizontalRule','Smiley','SpecialChar'], ['Format','Font','FontSize'] -] ; +]; CKEDITOR.config.contentsCss = CKEDITOR.basePath + '../css/defaultHTML_learner.css'; @@ -65,7 +65,7 @@ CKEDITOR.config.format_tags = 'div;h1;h2;h3;h4;h5;h6;pre;address;p' ; CKEDITOR.config.enterMode = 'div'; CKEDITOR.plugins.addExternal('wikilink', CKEDITOR.basePath + '../tool/lawiki10/wikilink/', 'plugin.js'); -CKEDITOR.config.extraPlugins = 'kaltura,lineutils,widget,wikilink,mathjax,paint,movieplayer,iframe'; +CKEDITOR.config.extraPlugins = 'kaltura,wikilink,jlatexmath,paint,movieplayer,iframe'; CKEDITOR.config.enterMode = CKEDITOR.ENTER_DIV; CKEDITOR.config.removePlugins = 'elementspath'; CKEDITOR.config.allowedContent = true;