File upload handler
Write your owner UI and upload handler
Example code
<link rel="stylesheet" href="/richtexteditor/rte_theme_default.css" />
<script type="text/javascript" src="/richtexteditor/rte.js"></script>
<script type="text/javascript" src='/richtexteditor/plugins/all_plugins.js'></script>
<div id="div_editor1"></div>
<script>
var config = {};
config.file_upload_handler = function (file, callback, optionalIndex, optionalFiles) {
var uploadhandlerpath = "/imageupload.ashx";
// ... build progress dialog, POST the file, call callback(url) on success
var xh = new XMLHttpRequest();
xh.open("POST", uploadhandlerpath + "?name=" + encodeURIComponent(file.name), true);
xh.send(file);
}
var editor1 = new RichTextEditor("#div_editor1", config);
</script>