Opened 8 years ago
#16965 new New Feature
MathJax plugin: add support for MathJax.Hub.Config configuration options
Reported by: | Milos | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.7.0 |
Keywords: | mathjax configure | Cc: |
Description
Steps to reproduce
The MathJax plugin currently supports two configuration options: config.mathJaxClass and config.mathJaxLib. The options provided by MathJax.Hub.Config are not currently supported. Among others, one can here define macros. Without this option they may be visible in the rest of a web site (if configured elsewhere), but not in CKEditor and its MathJax editor window.
Expected result
One can configure MathJax within the CKEditor in the same way as in the rest of the web site
Actual result
MathJax within the CKEditor is not configurable
Other details (browser, OS, CKEditor version, installed plugins)
The MathJax.Hub.Config is set at line 309 of https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/mathjax/plugin.js without possibility to change it outside the source code by means of a configuration option: MathJax configuration, disable messages. 'MathJax.Hub.Config( {' +
'showMathMenu: false,' + 'messageStyle: "none"' +
'} );'