Skip to content

joelso/cleditor-extimage-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

About

Extended image plugin for cleditor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%