0.9.5
Thanks to @DominikBucher12 and @msrutek-paylocity, some bugs have been fixed and some formatting adjusted.
✨ Features
RichTextColor
has a newattribute
property.RichTextColor
has a newunderline
color.RichTextFormatSheet
has a newcolorPickers
init parameter.RichTextFormatSidebar
has a newcolorPickers
init parameter.
💡 Adjustments
RichTextAttributeReader
now allows providing anil
range.RichTextAttributeWriter
now handlessetRichTextStyle
with a switch.RichTextAttributeWriter
andRichTextViewComponent
shares more code.RichTextFormatSheet
now exposes its init params as mutable properties.RichTextFormatSidebar
now handles keyboard focus way better than before.RichTextFormatSidebar
now exposes its init params as mutable properties.RichTextViewComponent
now handlessetCurrentRichTextStyle
with a switch.RichTextViewComponent
now handlessetCurrentRichTextStyle
with a switch.RichTextViewComponent
uses the new colorattribute
to optimize some code.SwiftFormat
now usesconsecutiveSpaces
.
🐛 Bug Fixes
RichTextAttributeWriter
now handlesstrikethrough
with a switch.RichTextView
now handles initial drag & drop better on iOS.
🗑️ Deprecations
RichTextAttributeReader
color functions are replaced with a singlerichTextColor(_:at:)
.RichTextAttributeWriter
color functions are replaced with a singlesetRichTextColor(_:to:at:)
.