fix paste image twice
This commit is contained in:
@ -621,6 +621,8 @@ define("tinymce/pasteplugin/Clipboard", [
|
|||||||
|
|
||||||
if (hasImage(e)) {
|
if (hasImage(e)) {
|
||||||
removePasteBin();
|
removePasteBin();
|
||||||
|
// 不然会在内容中插入一个图片,
|
||||||
|
e.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1189,4 +1191,4 @@ define("tinymce/pasteplugin/Plugin", [
|
|||||||
});
|
});
|
||||||
|
|
||||||
expose(["tinymce/pasteplugin/Utils","tinymce/pasteplugin/WordFilter"]);
|
expose(["tinymce/pasteplugin/Utils","tinymce/pasteplugin/WordFilter"]);
|
||||||
})(this);
|
})(this);
|
||||||
|
Reference in New Issue
Block a user