|
@@ -243,9 +243,9 @@ class Basic extends Toolbar
|
|
['Link', 'Image', 'Video', 'Oembed', 'Flash', 'Youtube', 'Audio', 'Table', 'Asciimath', 'Asciisvg'],
|
|
['Link', 'Image', 'Video', 'Oembed', 'Flash', 'Youtube', 'Audio', 'Table', 'Asciimath', 'Asciisvg'],
|
|
['BulletedList', 'NumberedList', 'HorizontalRule'],
|
|
['BulletedList', 'NumberedList', 'HorizontalRule'],
|
|
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
|
|
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
|
|
- ['Styles', 'Format', 'Font', 'FontSize', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor', 'Source'],
|
|
|
|
|
|
+ ['Styles', 'Format', 'Font', 'FontSize', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor'],
|
|
api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
- ['Toolbarswitch'],
|
|
|
|
|
|
+ ['Toolbarswitch', 'Source'],
|
|
];
|
|
];
|
|
}
|
|
}
|
|
|
|
|
|
@@ -282,9 +282,9 @@ class Basic extends Toolbar
|
|
['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'TextColor', 'BGColor'],
|
|
['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', '-', 'TextColor', 'BGColor'],
|
|
[api_get_setting('allow_spellcheck') == 'true' ? 'Scayt' : ''],
|
|
[api_get_setting('allow_spellcheck') == 'true' ? 'Scayt' : ''],
|
|
['Styles', 'Format', 'Font', 'FontSize'],
|
|
['Styles', 'Format', 'Font', 'FontSize'],
|
|
- ['PageBreak', 'ShowBlocks', 'Source'],
|
|
|
|
|
|
+ ['PageBreak', 'ShowBlocks'],
|
|
api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
- ['Toolbarswitch'],
|
|
|
|
|
|
+ ['Toolbarswitch', 'Source'],
|
|
];
|
|
];
|
|
}
|
|
}
|
|
}
|
|
}
|