Skip to content

[Bug] - Copy code button missing inside table cells #882

Description

@Homa

Description

When an LLM response renders a Markdown table with commands in the cells, those commands have no copy code button.

Expected result: Code blocks in response should have copy code icon

Steps to Reproduce

1- search for "openshift cli"
2- in the response table we have:

After installing, run oc login with your cluster URL and credentials.

the oc login has wrapped with code tag but doesn't have copy code button.

Data/JSON Context (if applicable)

No response

Environment

@patternfly/chatbot@6.6.0

Screenshots or Logs

image


Jira Issue: PF-4463

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions