Skip to content

0.9.5

Compare
Choose a tag to compare
@danielsaidi danielsaidi released this 04 Jan 13:29
· 265 commits to main since this release

Thanks to @DominikBucher12 and @msrutek-paylocity, some bugs have been fixed and some formatting adjusted.

✨ Features

  • RichTextColor has a new attribute property.
  • RichTextColor has a new underline color.
  • RichTextFormatSheet has a new colorPickers init parameter.
  • RichTextFormatSidebar has a new colorPickers init parameter.

💡 Adjustments

  • RichTextAttributeReader now allows providing a nil range.
  • RichTextAttributeWriter now handles setRichTextStyle with a switch.
  • RichTextAttributeWriter and RichTextViewComponent 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 handles setCurrentRichTextStyle with a switch.
  • RichTextViewComponent now handles setCurrentRichTextStyle with a switch.
  • RichTextViewComponent uses the new color attribute to optimize some code.
  • SwiftFormat now uses consecutiveSpaces.

🐛 Bug Fixes

  • RichTextAttributeWriter now handles strikethrough with a switch.
  • RichTextView now handles initial drag & drop better on iOS.

🗑️ Deprecations

  • RichTextAttributeReader color functions are replaced with a single richTextColor(_:at:).
  • RichTextAttributeWriter color functions are replaced with a single setRichTextColor(_:to:at:).