A Cleditor plugin allows Cleditor to upload image through html <img> tag with Data URI schema
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>