Skip to content

feat: keep large pasted documents in expandable pills - #8

Merged
petyosi merged 1 commit into
mainfrom
petyosi/pasted-text
Sep 6, 2026
Merged

petyosi merged 1 commit into
mainfrom
petyosi/pasted-text

Conversation

@petyosi

@petyosi petyosi commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Large pasted documents can overwhelm the composer and lose content when treated as editable Markdown. This adds an optional pasted-text plugin that keeps the original source in expandable pills, with preview, copy, edit, remove, and insert-into-message actions.

Hosts receive the exact text in extensions.pastedTexts; storage and agent delivery remain host responsibilities. Short pastes and code-block pastes retain their normal behavior. The registry includes the UI, and Ladle includes controlled and uncontrolled examples.

All 217 tests pass, including browser coverage for conversion, submission, and literal Markdown preservation. Package, Ladle, and registry builds pass.

@petyosi
petyosi merged commit 4fad3e1 into main Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant