Image paste Plugin for CKEditor

Introduction

This is a plugin that automatically uploads to the server the images pasted from the clipboard with Firefox in CKEditor.

Author:

Alfonso Martínez de Lizarrondo

Version history:

  1. 1.0: 28-September-2011. First public version.

Installation

1. Copying the files

Extract the contents of the zip in you plugins directory, so it ends up like this

ckeditor\
	...
	images\
	lang\
	plugins\
		...
		imagepaste\
			plugin.js
			docs\
				install.html
		...
	skins\
	themes\

2. Adding it to CKEditor

Now add the plugin in your config.js or custom js configuration file: config.extraPlugins='imagepaste';

3. Configuration

You have to configure the filebrowserImageUploadUrl entry as you might have already done to allow the user to upload images.

4. Use it

Using Firefox, paste an image into the body of CKEditor. That image will be uploaded to the server and it will use the correct URL instead of "data:".

Disclaimers

CKEditor is © CKSource.com