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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user