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

There are two possibilities to run the editor. The first one is simple & easy, the second one more sophisticated but grants more possibilities.
Further details as follows

  1. simple & easy
  2. Since we use the editor mostly on public webservers, the linkage from a CDN (Content Delivery Network, preset) is the easiest. Benefits: don't worry about releases, the download size of the program package reduces.

    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 configuration has to be modified as follows:
    https://cloud.tinymce.com/stable/tinymce.min.js?apiKey=your_API_key

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

    to top

  3. Download Variant
  4. The download variant is handy for a local webserver for testing, because you don't nedd an internet connection.

    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).

    Finally you have to uncheck the CDN checkbox in the configuration. Now the editor should be loaded from the own directory.

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.