Skip to content

"Copy failed!" error when attempting to "Copy page as Markdown for LLMs" #445

Description

@Sachindu-Nethmin

Bug: "Copy failed!" error when copying page as Markdown

Description
Selecting the "Copy page as Markdown for LLMs" option from the dropdown menu fails to copy the page content. Instead of copying to the clipboard, the UI immediately displays a "Copy failed!" error in both the top toggle button and the menu item itself.

Steps to Reproduce

  1. Open the dropdown menu.
  2. Select Copy page as Markdown for LLMs.
  3. Observe the "Copy failed!" error.

Expected Result
The page content copies to the clipboard in Markdown format.

Actual Result
The copy action fails, and the UI updates to show an error state.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions