Skip to content

fix: keep pasted links that follow share text in the import URL field - #17

Merged
MichaelJShepherd merged 1 commit into
mainfrom
claude/link-paste-truncation-xgry82
Jun 10, 2026
Merged

fix: keep pasted links that follow share text in the import URL field#17
MichaelJShepherd merged 1 commit into
mainfrom
claude/link-paste-truncation-xgry82

Conversation

@MichaelJShepherd

Copy link
Copy Markdown
Owner

The paste handler only took over the event when the clipboard text
differed from the extracted URL, so the browser's default paste into the
single-line input dropped everything after the first newline and the
link was lost. Always prevent the default for text pastes and set the
field from the extracted URL instead.

https://claude.ai/code/session_012QRqHuVKzwa5LmeLxbTyD2

The paste handler only took over the event when the clipboard text
differed from the extracted URL, so the browser's default paste into the
single-line input dropped everything after the first newline and the
link was lost. Always prevent the default for text pastes and set the
field from the extracted URL instead.

https://claude.ai/code/session_012QRqHuVKzwa5LmeLxbTyD2
@MichaelJShepherd
MichaelJShepherd merged commit 298745c into main Jun 10, 2026
1 of 2 checks 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.

2 participants