Skip to content

Multiple lines of pasted text that were copied from a code block will have a trailing back slash at the end of each line except the last #2377

@chevas

Description

@chevas

Describe the bug
Multiple lines of pasted text that were copied from a code block will have a trailing back slash at the end of each line except the last line

To Reproduce
This can be reproduced on the public implementation of Blocknote at blocknotejs.org

Create a code block.
Type in at least 2 lines of text
Select all the lines of text
Paste them in some other text editor, like notepad or whatever
Observe there are back slashes at the end of each line except the last line

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions