Skip to content

czmarcos/uploadcare-tinymce

 
 

Repository files navigation

Uploadcare TinyMCE Plugin

This is a module for TinyMCE to work with Uploadcare.

It's based on a uploadcare-php library.

Requirements

  • TinyMCE 3.5+

Install

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.

Usage

  1. Press "Uploadcare" button.
  2. Select a file to upload.
  3. Change any parameters you like in the appeared dialog.
  4. Press "Insert" and an image will be available inside editor.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 75.6%
  • JavaScript 24.4%