Install Translator plugin to TinyMCE
- Unpack archived files directly to
tinymce/plugins
. - Turn on the plugin in
initialization script:
plugins: 'jsplusTranslator'
- Add these buttons to the toolbar definition:
- Run translation
jsplusTranslator
- Reverse translation direction
jsplusTranslatorReverse
- Open settings dialog
jsplusTranslatorConf
- Now you can use your installed plugins. Do not forget to sure that browser cache was cleared.
Configuration
Optionally, you can configure the plugin for your needs. A number of parameters are available for that. Parameters are a key-value structure that's passed along with the main config of TinyMCE.
Pass the parameters as follows:
tinymce.init({
selector: 'textarea',
jsplusTranslator: {
key1: "value1",
key2: true
}
});
Explore the list of available options to see what settings are available to you.