Paste as plain text (#14) - #16
Merged
Merged
Conversation
- PasteService.paste(item:asPlainText:): nil resolves from the setting XOR the Shift modifier - Split card context menu into Paste with Formatting / Paste as Plain Text for RTF and HTML clips - Add an Always Paste as Plain Text toggle in Settings > General Version, appcast, and release steps are intentionally left untouched while 1.3.0 (23) is in App Store review. Refs #14
mobrava
force-pushed
the
feat/paste-plain-text
branch
from
August 22, 2026 08:40
fa1ed4c to
f01d087
Compare
evowhale
marked this pull request as ready for review
August 22, 2026 08:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #14 (kept open until this ships in a release)
What
PasteService.paste(item:asPlainText:): passingnilresolves the mode from the setting XOR the Shift modifier.Paste with Formatting/Paste as Plain Text, shown only for RTF and HTML clips.Always Paste as Plain Texttoggle in Settings > General (off by default).Holding Shift while pasting flips the configured behavior for that single paste. Existing
paste(item:)call sites (Return key, card click, preview, menu bar) keep their signature and go through the modifier-aware path automatically.Deliberately out of scope
appcast.xml, tag, and release: 1.3.0 (23) is currently in App Store review, so shipping is deferred until review clears and the GitHub release is out.Verification status
swiftc -parsepasses on the changed files.