Skip to content

Commit

Permalink
fix: Make defaultFont public.
Browse files Browse the repository at this point in the history
  • Loading branch information
laosb committed Mar 1, 2024
1 parent 6625b0c commit ebd1de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/EasyRichTextUI/ERTRichTextEditContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ERTRichTextEditContext<RichText: ERTRichText>: ObservableObject {
@Published public private(set) var richText: RichText
@Published public private(set) var selectedRange: NSRange?
var nsAttributedString: NSMutableAttributedString
var defaultFont: CTFont
public var defaultFont: CTFont
var onTextUpdated: ((NSAttributedString) -> ())?
public var onEndEditing: (() -> ())?

Expand Down

0 comments on commit ebd1de7

Please sign in to comment.