RELEASE 2.16.0 OR LATER
This is an equation editor plug-in that allows you to insert equations/chemical formulas and edit properties.
Use Module
The SynapEditor equation editor plug-in uses a commercial module called MathType.
If you wish to use it, please contact us through the page below.
Product inquiry: https://www.synapsoft.co.kr/contact/
- MathType: https://www.wiris.com/en/solutions/integrations/html-editors/
How to use
Load plugin file
<!-- MathTypeYou need to add the library to use it. (https://www.npmjs.com/package/@wiris/mathtype-generic#documentation) --> <script src="url of mathtype-generic/wirisplugin-generic.js"></script> <!-- SynapEditor Since the object can be applied only when it exists, it must be included under the editor script file. --> <script src="url of mathType.min.js"></script>
Adding a Button to the Toolbar
Equation editing and formula editing buttons can be added to the toolbar area and menu area.
Add to Toolbar
synapeditor.config.js
//... 'editor.toolbar': [ // formula/chemical formula 'mathType.math', 'mathType.chem' //... ], // ...
Setting up the plugin
Settting mathType
Sets the properties to be used when initializing the window.WirisPlugin.GenericIntegration object.
synapeditor.config.js
//... 'mathType.config': { 'properties': { 'configurationService': '/pluginwiris_engine/app/configurationjs' } } // ...