Commit 5552f389 authored by GoshaZotov's avatar GoshaZotov

fix bug 33233

parent d208ad38
...@@ -8771,11 +8771,13 @@ ...@@ -8771,11 +8771,13 @@
}; };
if ("paste" === prop && val.onlyImages !== true) { if ("paste" === prop && val.onlyImages !== true) {
// Для past свой диапазон // Для past свой диапазон
var newRange;
if (isLocal === "binary") { if (isLocal === "binary") {
checkRange.push(this._pasteFromBinary(val, true)); newRange = this._pasteFromBinary(val, true);
} else { } else {
checkRange.push(this._pasteFromHTML(val, true)); newRange = this._pasteFromHTML(val, true);
} }
checkRange = [newRange];
} }
if ("paste" === prop && val.onlyImages === true) { if ("paste" === prop && val.onlyImages === true) {
onSelectionCallback(); onSelectionCallback();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment