# External integration

## Some rich text editors, such as CKEditor or TinyMCE, allow you to specify a URL based location of plugins outside of the normal plugins directory.

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 and TinyMCE. Using this option you do not need to install any component on your servers. You only need to add one line to your CKEditor or TinyMCE configuration.

## External integration for CKeditor

CKEDITOR.plugins.addExternal('ckeditor_wiris', 'https://www.wiris.net/demo/plugins/ckeditor/', 'plugin.js');

Include MathType buttons in CKEditor's toolbar:

config.toolbar_Full.push({ name: 'wiris', items : [ 'ckeditor_wiris_formulaEditor','ckeditor_wiris_formulaEditorChemistry']});


## External integration forTinyMCE

external_plugins: { tiny_mce_wiris: 'https://www.wiris.net/demo/plugins/tiny_mce/plugin.js' }

Include MathType buttons in your TinyMCE button list, the button keys are the following:

tiny_mce_wiris_formulaEditor
tiny_mce_wiris_formulaEditorChemistry