Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Extended image plugin for cleditor
branch: master
5 comments

Initial revision

latest commit 206ed30e63
Dmitry Dedukhin authored
Failed to load latest commit information.
README Initial revision
jquery.cleditor.extimage.js Initial revision

README

This plugin will replace standard image plugin once it is inluded on the page.

Use it as follow:

<script src="/scripts/cleditor/jquery.cleditor.min.js" type="text/javascript"></script>
<script src="/scripts/cleditor/jquery.cleditor.extimage.js" type="text/javascript"></script>
<script type="text/javascript">
$.cleditor.buttons.image.uploadUrl = '/your/custom/upload/path';
</script>

Your custom upload handler must return only one row in response:

<div id="image">/path/to/uploaded/file</div>

If this markup is not found or path is empty an error will be thrown.
Something went wrong with that request. Please try again.