Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Editor: Multi-Line Paste always results in code block #1700

Open
ericvicenti opened this issue May 30, 2024 · 1 comment
Open

Editor: Multi-Line Paste always results in code block #1700

ericvicenti opened this issue May 30, 2024 · 1 comment
Assignees
Labels
type: bug Something isn't working

Comments

@ericvicenti
Copy link
Collaborator

ericvicenti commented May 30, 2024

When pasting multiple lines of text from VSCode into the editor, a code block is always created, even when the text does not resemble code

Multi-line paste should result in multiple text blocks being created

Eventually we will want to handle markdown when pasting, and this is the first step in resolving that

@ericvicenti ericvicenti added the type: bug Something isn't working label May 30, 2024
@iskaktoltay
Copy link
Collaborator

Tiptap's code block extension has a prosemirror plugin that checks on paste if the clipboard data contains vscode metadata so it is inserted as a code block. Do you want to remove that plugin? @ericvicenti

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants