@wiris/mathtype-generic
Version:
MathType Web for a generic HTML editor
33 lines (30 loc) • 1.29 kB
JavaScript
import Core from "@wiris/mathtype-html-integration-devkit/src/core.src";
import Parser from "@wiris/mathtype-html-integration-devkit/src/parser";
import Util from "@wiris/mathtype-html-integration-devkit/src/util";
import Image from "@wiris/mathtype-html-integration-devkit/src/image";
import Configuration from "@wiris/mathtype-html-integration-devkit/src/configuration";
import Listeners from "@wiris/mathtype-html-integration-devkit/src/listeners";
import IntegrationModel from "@wiris/mathtype-html-integration-devkit/src/integrationmodel";
import Latex from "@wiris/mathtype-html-integration-devkit/src/latex";
import Test from "@wiris/mathtype-html-integration-devkit/src/test";
/** Don't delete this - non used - imports. */
import "@wiris/mathtype-html-integration-devkit/src/backwardslib";
import "@wiris/mathtype-html-integration-devkit/src/polyfills";
import MathML from "@wiris/mathtype-html-integration-devkit/src/mathml";
import GenericIntegration, { currentInstance } from "./wirisplugin-generic.src";
Configuration.set("parseModes", "latex");
// Expose WirisPlugin variable to the window.
window.WirisPlugin = {
Core,
Parser,
Image,
Util,
MathML,
Configuration,
Listeners,
IntegrationModel,
currentInstance,
Latex,
GenericIntegration,
Test,
};