fix paste image twice
This commit is contained in:
1 parent
cb19d235c6
commit
d49f837b2e
1 file changed
+2
@@ -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