We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7f547 commit 488ff1aCopy full SHA for 488ff1a
README.md
@@ -65,6 +65,7 @@ Set editor placeholder string:
65
66
```swift
67
TextEditorPlus(text: $text)
68
+ //.font(NSFont(name: "pencontrol", size: 12)!)
69
.font(.systemFont(ofSize: CGFloat(Float(fontSize)!), weight: .regular))
70
.textSetting("Test placeholder string", for: .placeholderString)
71
```
Sources/TextEditorPlus/Settings/Font.swift
@@ -35,6 +35,7 @@ extension TextEditorPlus {
35
///
36
/// ```swift
37
/// TextEditorPlus(text: $text)
38
+ /// .font(NSFont(name: "pencontrol", size: 12)!)
39
/// .font(.systemFont(ofSize: 24, weight: .regular))
40
/// ```
41
public func font(_ value: FontHelper) -> Self {
0 commit comments