Skip to content

Commit

Permalink
Revert bug fix so I can submit it separately
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbutler committed Oct 5, 2020
1 parent 92eba0a commit aa2f3d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/data-objects/webflow/src/clipboard/paste.ts
Expand Up @@ -21,7 +21,9 @@ export function paste(doc: FlowDocument, data: DataTransfer, position: number) {
const root = document.createElement("span");
root.innerHTML = content;
pasteChildren(doc, root, position);
} else if (content = data.getData(ClipboardFormat.text)) {
// TODO: fix this bug
// eslint-disable-next-line no-dupe-else-if
} else if (content = data.getData(ClipboardFormat.html)) {
debug("paste('text/plain'): %s", content);
doc.insertText(position, content);
} else {
Expand Down

0 comments on commit aa2f3d8

Please sign in to comment.