Tests: for replaceWith.
replaceWith is waiting for insertHtmlIntoRange.
Tests: moved pasteFiles to plugins/clipboard/_helpers/pasting.js.