fix: Newlines added around pasted text content, closes #5236

This commit is contained in:
Tom Moor
2023-04-22 10:13:14 -04:00
parent e2c5fda610
commit f79cba9b55

View File

@@ -149,7 +149,6 @@ export default class PasteHandler extends Extension {
// html on the clipboard then try to parse content as Markdown
if (
(isMarkdown(text) && !isDropboxPaper(html)) ||
html.length === 0 ||
pasteCodeLanguage === "markdown"
) {
event.preventDefault();