* finish task #2335.

This commit is contained in:
wangyidong
2015-11-02 15:30:43 +08:00
parent 1807788f9d
commit 5d7126f5ca
14 changed files with 58 additions and 15 deletions
+1
View File
@@ -122,6 +122,7 @@ function initKindeditor(afterInit)
var html = K(doc.body).html();
if(html.search(/<img src="data:.+;base64,/) > -1)
{
K(doc.body).html(html.replace(/<img src="data:.+;base64,.*".*\/>/, ''));
$.post(createLink('file', 'ajaxPasteImage'), {editor: html}, function(data){K(doc.body).html(data);});
}
}, 80);