Framework

KLRichTextEngine

KLRichTextEngine stores and edits rich text without reducing the document to a plain string. It provides a Codable document model, attributed-string conversion, checklist mutations, font intent storage, paste normalization, and SwiftUI editor and viewer views. The package keeps authored structure and unsupported values visible to the host. It does not require the integrating app to adopt one persistence format or one editor backend.

指南

KLRichTextEngine · Swift 套件文件