Skip to content

fix: fall back to originalText in textStorage so Share as Text copies content - #375

Open
semihozsoy wants to merge 1 commit into
kean:mainfrom
semihozsoy:fix/copy-text-storage-fallback-4.x
Open

fix: fall back to originalText in textStorage so Share as Text copies content#375
semihozsoy wants to merge 1 commit into
kean:mainfrom
semihozsoy:fix/copy-text-storage-fallback-4.x

Conversation

@semihozsoy

@semihozsoy semihozsoy commented Jul 14, 2026

Copy link
Copy Markdown

▎ This is a backport of #369 for the 4.x line — apologies for targeting main, where the fix already exists.

▎ Context: Pulse 5.x requires iOS 15, so projects that still support iOS 14 are stuck on 4.2.7, which has the
▎ empty-pasteboard bug when using "Share as Text" → Copy. This branch is the 4.2.7 tag plus the same one-line fix from
#369.

▎ Since version-2 and version-3 branches already exist, would you consider creating a version-4 branch? I can then
▎ retarget this PR to it — and it would be great to get a 4.2.8 patch release for iOS 14 users. Thanks!

… content

Backport of kean#369 (33831ee) to the 4.x line. When the text view is not
attached yet, textStorage returned an empty NSTextStorage, so copying
via Share as Text put an empty string on the pasteboard.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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