dev_xiangzheng
cxt 10 years ago
commit fef0475c80

@ -293,8 +293,8 @@ https://github.com/layerssss/paste.js
}).call(this);
KindEditor.plugin('paste', function(K) {
var editor = this,
function enablePasteImg(_editor) {
var editor = _editor,
name = 'paste';
if(editor.edit == undefined || editor.edit.iframe == undefined){
return;
@ -305,7 +305,7 @@ KindEditor.plugin('paste', function(K) {
var nodeBody = contentWindow.document.getElementsByTagName('body')[0];
console.log(nodeBody);
$(nodeBody).pastableContenteditable();
dataURItoBlob = function(dataURI) {
// convert base64/URLEncoded data component to raw binary data held in a string
var byteString;
@ -351,5 +351,4 @@ KindEditor.plugin('paste', function(K) {
});
return;
});
};

Loading…
Cancel
Save