Skip to content

CodeBlock add an extra-line on copy/paste #611

@lio-p

Description

@lio-p

When copying code from the code block by selecting specific lines in the block and wrapLines is set to true, extra newlines are added to the copied snippet.

  • wrapLines=false

Image

Result in no extra-lines

Image

  • wrapLines=true

Image

Results in extra-lines:

Image

Not related, but also it would be great if the line number is not copied as part of the code snippet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions