|
@@ -58,6 +58,7 @@ class WikiTask extends Basic
|
|
|
[api_get_setting('allow_spellcheck') == 'true' ? 'Scayt' : ''],
|
|
|
['Styles', 'Format', 'Font', 'FontSize'],
|
|
|
['PageBreak', 'ShowBlocks', 'Source'],
|
|
|
+ api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
|
['Toolbarswitch']
|
|
|
];
|
|
|
}
|
|
@@ -75,6 +76,7 @@ class WikiTask extends Basic
|
|
|
['Table'],
|
|
|
['Bold', 'Italic', 'Underline'],
|
|
|
['JustifyLeft', 'JustifyCenter', '-', 'NumberedList', 'BulletedList', '-', 'TextColor', 'BGColor'],
|
|
|
+ api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
|
['Source']
|
|
|
];
|
|
|
}
|
|
@@ -92,6 +94,7 @@ class WikiTask extends Basic
|
|
|
['BulletedList', 'NumberedList', 'HorizontalRule'],
|
|
|
['JustifyLeft', 'JustifyCenter', 'JustifyBlock'],
|
|
|
['Format', 'Font', 'FontSize', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor'],
|
|
|
+ api_get_setting('enabled_wiris') == 'true' ? ['ckeditor_wiris_formulaEditor', 'ckeditor_wiris_CAS'] : [''],
|
|
|
['Toolbarswitch']
|
|
|
];
|
|
|
}
|