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.
RichTextFormatis a new namespace with format types and views.RichTextContexthas more intuitive ways to paste text content.RichTextContexthas a new observableparagraphStyleproperty.RichTextInsertionhas new static convenience insertion builders.RichTextVieweris a new SwiftUI view that can be used to view rich text.
🐛 Bug Fixes
RichTextViewno 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.
RichTextContextFocusedValueKeyis renamed toRichTextContext.FocusedValueKey.RichTextEditoris now configured and styled with modifiers instead of the init.RichTextFontpickers are now configured with a shared modifier instead of the init.RichTextFontsize picker is now configured with a shared modifier instead of the init.RichTextFormatcomponents are now configured with a shared modifier instead of the init.RichTextFormatSheethas been renamed toRichTextFormat.Sheetto trim SDK surface area.RichTextFormatSidebarhas been renamed toRichTextFormat.Sidebarto trim SDK surface area.RichTextFormatToolbarhas been renamed toRichTextFormat.Toolbarto trim SDK surface area.RichTextLine.SpacingPickeris now configured with a shared view modifier instead of the init.RichTextKeyboardToolbaris now configured and styled with two view modifiers instead of the init.