@wiris/mathtype-ckeditor5
v8.11.1
Published
MathType Web for CKEditor5 editor
Downloads
15,034
Maintainers
Readme
MathType for CKEditor 5
Type and handwrite mathematical notation with MathType.
Easily include quality math equations in your documents and digital content.
Table of Contents
Install instructions
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:
Using the legacy methods of installation:
import MathType from '@wiris/mathtype-ckeditor5'; ... ClassicEditor .create( editorElement, { plugins: [ ..., MathType, ... ], toolbar: { items: [ ... 'MathType', 'ChemType', ... ] },
And when uses
CKEditor5
without legacy methods of installation:import { ClassicEditor } from 'ckeditor5'; import MathType from '@wiris/mathtype-ckeditor5/dist/index.js'; ... 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 [email protected].
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://www.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.