Skip to content

Triple-click copy includes "Webhook URL" from settings textarea #184

@raimannma

Description

@raimannma

Hey! Small bug I ran into.

When the toolbar is mounted on a page, triple-clicking a paragraph to copy it grabs the visible text but also tacks "Webhook URL" onto the end.

Looks like the selection range extends across the document into the settings panel, and Chromium serializes the empty webhook textarea's placeholder into the output. The textarea is at package/src/components/page-toolbar-css/settings-panel/index.tsx:342.

A user-select: none on the toolbar root (or just not rendering the settings panel when it's closed) should sort it.

Repro: any page with <Agentation /> mounted, latest version on npm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions