AsciiMath plugin for TinyMCE 4

A plugin for TinyMCE 4 which enables user to input and preview mathematical expressions with AsciiMath markup language.

There is a very good plugin for TinyMCE 3, which supports even graphics, but unfortunately it was not updated for version 4 of the editor.

Please note that this plugin is in development (suspended D: until I have time for it).

Demonstration

The demonstration is avaliable here.

Usage

Download the plugin.js file in the following directory structure.

tinymce
└── plugins
    └── asciimath4
        └── plugin.js

If you are using the minified version of TinyMCE, rename it to plugin.min.js.

Add the plugin and the optionally the button in the TinyMCE init:

tinymce.init({
    selector: 'textarea'
,   plugins: 'asciimath4'
,   toolbar: 'asciimath4'
});

Configuration

There some parameters avaliable you can use on tinymce.init:

Dependencies

This plugins uses MathJax, but it automatically downloads what is needed from CDN. So don't worry about dependencies.

License

GNU General Public License v2, see LICENSE

Fork me on GitHub