Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @wiris/mathtype-ckeditor5 with all npm packages installed. Try it out:

var mathtypeCkeditor5 = require("@wiris/mathtype-ckeditor5")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@wiris/mathtype-ckeditor5 v7.24.1

MathType Web for CKEditor5 editor

MathType for CKEditor 5 Tweet

Type and handwrite mathematical notation with MathType.

Easily include quality math equations in your documents and digital content.

MathType for CKEditor 5 screenshot

Table of Contents

Install instructions

  1. Install the npm module:

    npm install @wiris/mathtype-ckeditor5
    
  2. Update the CKEditor configuration by adding the new plugin and including the MathType and ChemType buttons:

    import MathType from '@wiris/mathtype-ckeditor5/src/plugin';
    
    ...
    
    ClassicEditor
         .create( editorElement, {
             plugins: [ ..., MathType, ... ],
             toolbar: {
                 items: [
                     ...
                     'MathType',
                     'ChemType',
                     ...
                 ]
             },
    

Services

This npm module uses remotely hosted services to render MathML data. In case of wanting to install these services on your own backend, please contact support@wiris.com.

Displaying on Target Page

In order to display mathematical formulas on the target page, i.e. the page where content produced by the HTML editor will be visible, the target page needs to include the MathType script. For example for the default setting this would be:

<script src="https://wiris.net/demo/plugins/app/WIRISplugins.js?viewer=image"></script>

Documentation

To find out more information about MathType, please go to the following documentation:

Privacy policy

The MathType Privacy Policy covers the data processing operations for the MathType users. It is an addendum of the company’s general Privacy Policy and the general Privacy Policy still applies to MathType users.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free