Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 830 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 830 Bytes

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>