CodeCogs‚Äč

Equation Editor


3rd Party Links *
Videos featuring the Editor *
* Warning: CodeCogs is not responsible for content on external sites.

Tiny MCE v4.x (plugin v2 beta)

A Tiny MCE plugin that allows equations to be created in HTML.

Example

Usage

  • To create a new equation, click the fx button on the TinyMCE toolbar. This launches the Equation Editor.
  • Create your equation.
  • Select Copy to document to insert the equation into your document at the cursor position.
  • Double-click existing equations to edit them in the Equation Editor.

Quick Installation

  1. Install the Tiny MCE Editor.
  2. Download EqnEditor_tinymce_v4_plugin_v2.zip and uncompress it to your desktop or server.
  3. Find the folder where you installed Tiny MCE. For our purposes we will assume this is ~/tinymce.
  4. Open the Tiny Mce plugins folder, ~/tinymce/plugins and copy in the eqneditor directory from the uncompressed EqnEditor_tinymce_v4_plugin_v2.zip.
  5. Integrate Tiny MCE into your web page in the normal way.
  6. On your web page, locate the TinyMCE.init function, and modify (or add) the plugin property so it contains plugins : 'eqneditor',
  7. Now locate the toolbar property and add our new button eqneditor.
  8. The final code should resemble:
    <head>
    <script type="text/javascript">
    tinymce.init({
    plugins: [
    "eqneditor advlist autolink lists link image charmap print preview anchor",
    "searchreplace visualblocks code fullscreen",
    "insertdatetime media table contextmenu paste" ],
    toolbar: "undo redo | eqneditor link image | styleselect | bold italic | bullist numlist outdent indent ",
    selector : "textarea"
    });
    </script>
    </head>
    <body>
    <textarea name="content" style="width:100%"></textarea>
    </body>
  9. Load your page and enjoy!