You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
layout | title | title_nav | description | keywords |
---|---|---|---|---|
default | Tiny Drive plugin | Tiny Drive | Cloud-based file and image management for TinyMCE. | tinydrive storage media tiny drive |
The Tiny Drive plugin adds the functionality to upload and manage files and images to the cloud. This plugin is only available in Tiny Cloud and requires you to register for an API key.
To enable this functionality, add tinydrive
to the list of plugins in the tinymce.init
call. You also need to authenticate the user using a JSON Web Token (JWT).
Once you enable Drive it integrates as the default file picker for the Image, Link, and Media dialogs and as the default upload handler for local images being pasted or inserted into the document.
Live example
{% include codepen.html id="drive" %}
Example
tinymce.init({
selector: 'textarea', // change this value according to your html
plugins: 'tinydrive',
tinydrive_token_provider: 'URL_TO_YOUR_TOKEN_PROVIDER',
});
Configuration
You can read more about the various configuration options for Tiny Drive in the dedicated configuration page.