Unzip the CKEditor MathType integration and copy the ckeditor_wiris directory into your CKEditor integration directory. For example, you will have ckeditor/plugins/ckeditor_wiris. The name of the MathType integration directory must be ckeditor_wiris.
Our integration is available for various technologies. Click below on the technology you are using to see full instructions you should follow.
mbstring extension must be installed and enabled in the server.ckeditor/plugins/ckeditor_wiris/integration.ckeditor/plugins/ckeditor_wiris/cache and to ckeditor/plugins/ckeditor_wiris/formulas directories to the web server user. Those folders will be used to store formula MathML codes and temporal images. If you prefer, you can configure the location of these folders.php.ini file.
Edit ckeditor/plugins/ckeditor_wiris/configuration.ini to set your own values.This table specifies all possible parameters.
ckeditor/plugins/ckeditor_wiris. /ckeditor/plugins/ckeditor_wiris/integration. If, given your project requirements or architecture, you need to have only one application move /ckeditor_wiris/bin contents to the /bin directory of your project and copy the Web.config configuration to your project Web.config. If you use .NET 4.0 or above use the values of Web.config4.0.ckeditor/plugins/ckeditor_wiris/cache and to ckeditor/plugins/ckeditor_wiris/formulas directories to the web server user. Those folders will be used to store formula MathML codes and temporal images. If you prefer, you can configure the location of these folders
Edit ckeditor/plugins/ckeditor_wiris/configuration.ini to set your own values.This table specifies all possible parameters.
pluginwiris_engine.war' in your Java web applications server. For example, tomcat.pluginwiris_engine/cache and to pluginwiris_engine/formulas directories to the web server user. Those folders will be used to store formula MathML codes and temporal images. If you prefer, you can configure the location of these folders.
Edit WEB-INF/pluginwiris/configuration.ini to set your own values. This table specifies all possible parameters.
wirispluginengine gem inside your application's Gemfile.Wirispluginengine engine into your application's config/routes.rb file, adding the following line: mount Wirispluginengine::Engine => 'wirispluginengine'wirispluginengine-X.Y.Z/cache and to wirispluginengine-X.Y.Z/formulas directories to the web server user. Those folders will be used to store formula MathML codes and temporal images. If you prefer, you can configure the location of these folders.
Edit configuration.ini file on wirispluginengine gem root directory. This table specifies all possible parameters.
You must include some content on your CKEditor configuration file ckeditor/config.js (see CKEditor documentation).
The result should be like this:
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Add[MT]to the integration list config.extraPlugins += (config.extraPlugins.length == 0 ? '' : ',') + 'ckeditor_wiris'; }; If you use the Full MathML mode and for CKeditor versions higher than 4.0 you have to add this line as well: config.allowedContent = true;
ckeditor_wiris_formulaEditor', ckeditor_wiris_formulaEditorChemistry' buttons where you want.
Add WIRISplugin.js script. Follow this instructions.
In order to check if the integration is installed correctly, there is a page that makes some tests on your server. Open this link to see where is your test page.
Visit this page if you want to know how to clean the cache folder and backup your formula images.
This option is useful when loading the rich text editor from a CDN or when you want to have the editor directory separate from your custom integrations. In case you are using a programing language for which MathType Integrations are not available this is also a good option.
You can install MathType integration as an external integration in CKEditor. Using this option you do not need to install any component on your servers. You only need to add the following line to your CKEditor configuration.
CKEDITOR.plugins.addExternal('ckeditor_wiris', 'https://www.wiris.net/demo/plugins/ckeditor/', 'plugin.js');
To Include MathType buttons in CKEditor's toolbar:
config.toolbar_Full.push({ name: 'wiris', items : [ 'ckeditor_wiris_formulaEditor','ckeditor_wiris_formulaEditorChemistry']});