Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

dmitry-dedukhin/cleditor-extimage-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

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

 
 
 

Contributors