Skip to content

Create Cypress test for pasting text with hyperlinks into editor component #1983

@caneppelevitor

Description

@caneppelevitor

Currently, our editor implements a simplePasteFilter extension that intercepts clipboard paste operations. We need comprehensive Cypress test coverage to ensure this functionality works reliably across various scenarios.

Common Cases:

  • Plain text pasting
  • Text with paragraph breaks and line divisions
  • Multi-line content with mixed formatting

Special Cases:

  • Text containing hyperlinks that need to be stripped
  • Complex formatted content from external sources
  • Large blocks of text with nested formatting
  • Edge cases like empty clipboard or malformed content

Expected Behavior:

  • Hyperlinks should be removed while preserving the link text
  • Original text formatting (paragraphs, line breaks) must be maintained
  • Content structure should remain intact after filtering

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions