Type and handwrite mathematical notation with MathType.
Easily include quality math equations in your documents and digital content.
-
Install the npm module:
npm install @wiris/mathtype-ckeditor5
-
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', ... ] },
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 [email protected].
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>
To find out more information about MathType, please go to the following documentation: