Skip to content

Latest commit

 

History

History

demos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Trying out the demos

MathType Web IntegrationsDocumentation → Trying out the demos

We create and curate a collection of working code examples in order to test, validate, and showcase how to integrate MathType Web on different HTML editors and technologies: from vanilla HTML to modern JavaScript frameworks.

Table of contents

Editors and frameworks

Frameworks:

  • HTML
  • Vue

Editors

  • CKEditor
  • Froala
  • TinyMCE
  • as well as a generic integration that shows how to integrate MathType on an editable <div> element.

Running a demo

To run a demo, from the project root, run:

$ nx start-remote <FRAMEWORK>-<EDITOR>

This is the full list of available examples of MathType Integrations on this project:

Staging environment

To facilitate trying changes and the QA process, with every push to the GitHub remote the whole suite of demos is deployed in a staging server in the cloud, so they can all be used. This is managed by the deploy-staging.yml workflow.

Conversely, when a branch is deleted, the corresponding deployed demos get removed as well. This is managed by the dismantle-staging.yml workflow.

For example, if you push a commit to the branch master, then https://integrations.wiris.kitchen/master/html/generic/ will contain the HTML demo for the generic editor with the latest changes you pushed.

The URL format for each demo is as follows: https://integrations.wiris.kitchen/<BRANCH>/<FRAMEWORK>/<EDITOR>/.

The following table contains all our demos, together with links to the corresponding deployment for the branch master:

FRAMEWORK Editor and Version EDITOR Deployment URL for master
html CKEditor V4 ckeditor4 https://integrations.wiris.kitchen/master/html/ckeditor4/
html CKEditor V5 ckeditor5 https://integrations.wiris.kitchen/master/html/ckeditor5/
html Froala froala https://integrations.wiris.kitchen/master/html/froala/
html Generic integration generic https://integrations.wiris.kitchen/master/html/generic/
html TinyMCE V5 tinymce5 https://integrations.wiris.kitchen/master/html/tinymce5/
html TinyMCE V6 tinymce6 https://integrations.wiris.kitchen/master/html/tinymce6/
vue CKEditor V5 ckeditor5 https://integrations.wiris.kitchen/master/vue/ckeditor5/

Running a demo using the local source code

By default, these demos download the latest version of the MathType plugins from npm. If you are modifying the source code of the plugins in this repo, and want to try that out instead, follow the instructions in the Development section.