fix: Newlines added around pasted text content, closes #5236
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user