Mathematical Formulas (Tesla)


This plugin is my expansion for current version of Mathematical Formulas plugin. Toolbar is added for creating mathematical formulas faster. Formulas is rended by MathJax. The toolbar UI is based on CodeCogs and modified by us for rendering TeX formulas supported by MathML.

Some features expanded:

+ Toolbar in dialog for create math formulas faster:

  • Create matrix and equation by UI.
  • Insert math symbols easly.
  • ...

+ Fix bug not auto preview in firefox.

Input: laTeX (type or use toolbar)

Output: Use this function in component or script for rendering a formulas

export function formatMathemicalFormulas() {
  (function () {
    // console.log("Style MF called!");
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "//";   // use the location of your MathJax

    var config = 'MathJax.Hub.Config({' +
      'extensions: ["tex2jax.js"],' +
      'jax: ["input/TeX","output/HTML-CSS"]' +
      '});' +

    if (window.opera) {
      script.innerHTML = config
    } else {
      script.text = config

    script.addEventListener('load', function () {
      window.MathJax.Hub.Queue(["Typeset", window.MathJax.Hub]);




After basic installing, please add mathJaxLib to config:

mathJaxLib: '//'

Additional configuration:

config.mathJaxClass - sets the default class for an element that will be converted into a widget.


Currently, this version is lack of language translation.

Another informations:

it is not supported in IE 8.




564 downloads (view stats)


Plugin versions CKEditor versions
4.19 4.18 4.17

Version: 1.0.1

DownloadRelease notes

Fix feature not support in ES6.

Twitter Facebook Facebook Instagram Medium Linkedin GitHub Arrow down Phone Menu Close icon Check