danielsaidi / RichTextKit

RichTextKit is a Swift SDK that helps you use rich text in Swift and SwiftUI.
MIT License
950 stars 126 forks source link

[FIX] ColorPicker foreground color #123

Closed DominikBucher12 closed 10 months ago

DominikBucher12 commented 10 months ago

What this PR do:

In main branch, try to select text and bring up colorPicker. You can see that probably it doesnt work *colorPicker doesnt contain the current text color). This fixes that issue:

Screenshot 2024-01-16 at 15 27 28
DominikBucher12 commented 10 months ago

Maybe I should add test for this too :D :D

danielsaidi commented 10 months ago

Ok, let's never mention this again 🙈