diff --git a/src/plugins/MarkdownPaste.ts b/src/plugins/MarkdownPaste.ts index 93ef71b76..79d527074 100755 --- a/src/plugins/MarkdownPaste.ts +++ b/src/plugins/MarkdownPaste.ts @@ -64,9 +64,9 @@ export default class MarkdownPaste extends Extension { return true; } - // otherwise, if we have html on the clipboard then fallback to the + // otherwise, if we only have html on the clipboard then fallback to the // default HTML parser behavior that comes with Prosemirror. - if (text.length === 0 || html) return false; + if (text.length === 0 && html) return false; event.preventDefault();