From 3240d504fe6d234d5a42346ec29f3f39a06eb1c5 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 16 Dec 2015 15:07:34 +0100 Subject: [PATCH] Add mathJaxLib setting. --- .../CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php index 36f90fe9ab..0be5049b43 100644 --- a/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php +++ b/src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php @@ -100,6 +100,7 @@ class Basic extends Toolbar if (api_get_setting('enabled_mathjax') == 'true') { $plugins[] = 'mathjax'; + $config['mathJaxLib'] = api_get_path(WEB_PATH).'web/assets/MathJax/MathJax.js?config=AM_HTMLorMML'; } if (api_get_setting('enabled_asciisvg') == 'true') {