Skip to content

Paragraphs and newlines lost when copying text #47

@jameswaudbycontentcatalyst

Description

Hi,

When copying text, all paragraphs and newlines are lost—copied text becomes a single block. In contrast, copying the same PDF text from the PDF.js standalone viewer preserves paragraphs and newlines, even if only plain text can be pasted into apps like Microsoft Word.

Could @pdf-viewer/react align its clipboard extraction with PDF.js so paragraph breaks and newlines are preserved?

Thank you for your work on this useful library!

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