Install File Uploader plugin to TinyMCE

Installing a TinyMCE plugin is the same as installing any other plugin.
If a PHP sript is used, the uploading becomes available right after the add-on is installed. For users of other versions of the server loader and for those who use non-standard URL routing configuration, we recommend reading our server installation manual.

  1. Unpack archived files directly to tinymce/plugins.
  2. Turn on the plugin in initialization script:
    plugins: 'jsplusFileUploader'
  3. Add these buttons to the toolbar definition:
    • jsplusUpload
      Opened File Uploader dialog
    See sample TinyMCE toolbar configuration manual.
  4. 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',
	jsplusFileUploader: {
		key1: "value1",
		key2: true
	}
});
		  

Explore the list of available options to see what settings are available to you.