Skip to content

A Cleditor plugin allows Cleditor to upload image through html <img> tag with Data URI schema

License

Notifications You must be signed in to change notification settings

garyyeap/cleditor.imgData

Repository files navigation

cleditor.imgData

A Cleditor plugin allows Cleditor to upload image through html <img> tag with Data URI schema

Usage

Add to your html file <head> section

<link rel="stylesheet" href="{path-to}/jquery.cleditor.css" type="text/css" />
<script src="{path-to}/jquery-{version}.js"></script>
<script src="{path-to}/jquery.cleditor.js"></script>
<script src="{path-to}/swfobject.js"></script>
<script src="{path-to}/jquery.FileReader.min.js"></script>
<script src="{path-to}/cleditor.imgData.js"></script>
<script>
	$(function() {
		
		$( '#editor' ).cleditor({
			imgData : {
		    	swfPath : 'string' // (required) dir of swf files(expressInstall.swf and filereader.swf)
			}
			//maybe other cleditor options as you like
	    });
	});
</script>

About

A Cleditor plugin allows Cleditor to upload image through html <img> tag with Data URI schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published