apple-text-texteditor-26

Community

Enable rich text editing in SwiftUI TextEditor.

Authorsitapix
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SwiftUI TextEditor users face gaps in rich text editing capabilities on iOS 26+, where AttributedString-based editing and selection-aware formatting are not automatically included. This skill guides evaluation and implementation of a native SwiftUI-based rich text solution, clarifying when to use TextEditor vs UIKit wrappers and how to enable formatting constraints.

Core Features & Use Cases

  • Rich text editing using TextEditor with AttributedString (iOS 26+).
  • Selection-aware formatting via AttributedTextSelection and AttributedTextFormattingDefinition.
  • Decision framework for choosing between TextEditor and UIViewRepresentable wrappers in production apps.

Quick Start

Provide a minimal SwiftUI example binding an AttributedString to TextEditor to enable rich text editing.

Dependency Matrix

Required Modules

None required

Components

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-texteditor-26
Download link: https://github.com/sitapix/apple-text/archive/main.zip#apple-text-texteditor-26

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.