TinyMCE4 Rich Text Editor - a CMSimple_XH Plugin

TinyMCE4 (tinymce4) is a Rich Text Editor (RTE), which goes along with CMSimple_XH from version 1.7 as standard editor.

Please read this documentation carefully, otherwise support might not be granted! It is generally a good idea to read the documentation, before problems encouter!

Requirements

TinyMCE4 is a plugin for CMSimple_XH from version 1.6

Installation

The installation is done as like many other CMSimple_XH-plugins. For more information consult the CMSimple_XH Wiki.

  1. Backup your data on your server.
  2. Unpack the .zip-file on your computer.
  3. Load the entire directory tinymce4/ onto your server into the plugins/ directory of CMSimple_XH.
  4. Grant write permission for the supdirectories config/ and languages/.

Configuration & Usage

  1. Download Variant (preset)
  2. Along with der plugin the latest version of the tinyMCE4 is delivered. Please check in CMS Settings > Configuration if the field Editor > Name is set with "tinymce4". Therefore the editor is ready to use.

  3. always latest version
  4. Since we use the editor mostly on public webservers, the linkage from a CDN (Content Delivery Network) is optional. Benefits: don't worry about releases.

    The preset source is cloud.tinymce.com.

    Ephox, the publisher of TinyMCE demands a free API key, which is generated on Registration. To keep track of whom using their free software is fair deal. The editor even runs without API key, just with a according message in the toolbar.

    On receipt of your API key, the CDN source in the plugin configuration has to be modified as follows:
    https://cloud.tinymce.com/stable/tinymce.min.js?apiKey=your_API_key

    There are other CDN sources whitout API keys, cdnjs.com as example. But here you have to keep track of the correct version of your own.

    Finally you have to check the CDN checkbox in the plugin configuration and the plugin is ready for CDN usage.

manual update of the tinymce4 js library

It is possible to update the tinymce js library by hand.

Therefore the editor has to be downloaded from the publishers webpage. Extract the directory(tinymce/js/tinymce) from the .zip file and copy the content to the target directory(plugins/tinymce4/tinymce).

Licence

The plugin TinyMCE4 is licenced under GPLv3.

© 2017 Emanuel Marinello

Thanks to

cmb Christoph M. Becker for the support at the implementation of this plugin.

the community of CMSimple forum for tips, suggestions and testing.

at last to Peter Harteg, the "father" of CMSimple, and all developers of CMSimple_XH, without them this fantastic CMS wouldn't exist.