apple-text-pasteboard
CommunitySanitize pasteboard data in Apple text editors.
Authorsitapix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Copy, cut, and paste operations in Apple text editors often carry unwanted formatting, behave inconsistently across components, and complicate image pastes. This Skill provides guidance to sanitize pasted content, define and read custom pasteboard types, and integrate paste handling with UITextView and NSTextView for predictable, clean editing experiences.
Core Features & Use Cases
- Rich-text sanitization: strip or preserve select attributes when pasting to maintain visual consistency.
- Custom pasteboard types: define internal formats to exchange data reliably between app components.
- Image and attachment handling: paste images as NSTextAttachment and scale to fit the text container.
- NSItemProvider integration: support modern paste/drag/drop flows across iOS and macOS.
- Use Case: integrate sanitized paste into a note-taking app or code editor to avoid unexpected formatting.
Quick Start
Describe how to implement sanitized paste handling in a UITextView for a notes app.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: apple-text-pasteboard Download link: https://github.com/sitapix/apple-text/archive/main.zip#apple-text-pasteboard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.