This is a module for TinyMCE to work with Uploadcare.
It's based on a uploadcare-php library.
- TinyMCE 3.5+
Clone plugin from git to your plugins directory:
git clone git://github.com/uploadcare/uploadcare-tinymce.git plugins/uploadcare --recursive
Find a "config.js" file an edit it:
var UPLOADCARE_PUBLIC_KEY = "demopublickey";
Add a plugin and plugin button when initializing TinyMCE:
tinyMCE.init({
....
plugins : "uploadcare,..."
....
theme_advanced_buttons1 : "uploadcare,save,..."
....
Enable autostore for you account.
- Press "Uploadcare" button.
- Select a file to upload.
- Change any parameters you like in the appeared dialog.
- Press "Insert" and an image will be available inside editor.