1.0.0
This release removes all deprecated code and cleans up the library.
✨ Features
- There are new view style and config modifiers for components.
RichTextFormat
is a new namespace with format types and views.RichTextContext
has more intuitive ways to paste text content.RichTextContext
has a new observableparagraphStyle
property.RichTextInsertion
has new static convenience insertion builders.RichTextViewer
is a new SwiftUI view that can be used to view rich text.
🐛 Bug Fixes
RichTextView
no longer resets font and styles when setting up the macOS text view.
💥 Breaking Changes
- All previously deprecated code has been deleted.
- Many localization keys have been renamed to be easier to use.
RichTextContextFocusedValueKey
is renamed toRichTextContext.FocusedValueKey
.RichTextEditor
is now configured and styled with modifiers instead of the init.RichTextFont
pickers are now configured with a shared modifier instead of the init.RichTextFont
size picker is now configured with a shared modifier instead of the init.RichTextFormat
components are now configured with a shared modifier instead of the init.RichTextFormatSheet
has been renamed toRichTextFormat.Sheet
to trim SDK surface area.RichTextFormatSidebar
has been renamed toRichTextFormat.Sidebar
to trim SDK surface area.RichTextFormatToolbar
has been renamed toRichTextFormat.Toolbar
to trim SDK surface area.RichTextLine.SpacingPicker
is now configured with a shared view modifier instead of the init.RichTextKeyboardToolbar
is now configured and styled with two view modifiers instead of the init.