Mity Docs Mity Docs for Mity Digital
TinyMCE Cloud Documentation

Installation

Requirements

TinyMCE Cloud v4 requires:

  • Statamic 6.0 and later

  • PHP 8.2 and later

TinyMCE Cloud v3 requires:

  • Statamic 3.3 and later

  • Laravel 9.7.0 and later

  • PHP 8.0 and later

Installation

Install TinyMCE Cloud via composer:

1# for Statamic 6
2composer require mitydigital/statamic-tinymce-cloud
3 
4# for Statamic 4 or 5
5composer require mitydigital/statamic-tinymce-cloud:^3.0

Publish the configuration file (only if you need to make changes). This will create statamic-tinymce-cloud.phpin your config folder.

1php artisan vendor:publish --tag="statamic-tinymce-cloud-config"

Add TINYMCE_CLOUD_APIKEY to your .env file, and set your API key from tiny.cloud.

1TINYMCE_CLOUD_APIKEY="YOUR_API_KEY"

This will get passed on to the TinyMCE fieldtype instance automatically - you don't need to include this in each of your TinyMCE configurations.