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

Closed

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

Activity

  1. added
    bug:P3
    on Feb 5, 2026
  2. added
    bug:P2
    and removed
    bug:P3
    on Feb 23, 2026
  3. sylvinus commented on May 18, 2026

    @sylvinus

    This is preventing us from adopting Docs at scale for technical docs... Would love to bump it in priority :)

  4. nperez0111 commented on May 18, 2026

    @nperez0111
    Contributor

    I believe this merged PR already addresses this: #2709

  5. sylvinus commented on May 18, 2026

    @sylvinus

    Amazing thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions