Skip to content

Commit 117393e

Browse files
authored
Merge pull request #170 from martindufort/fix-doc-typos
Fix documentation typos.
2 parents 29cd3d2 + 5ed2e39 commit 117393e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RichTextKit is a Swift SDK that lets you edit rich text in `Swift` & `SwiftUI` w
2323

2424
The `RichTextEditor` supports text styles (bold, italic, underline, etc.), fonts, font sizes, colors, text alignments, image attachments, and much more. It's powered by a `RichTextView` that bridges `UITextView` & `NSTextView` and adds additional, platform-agnostic APIs that make the two views behave more alike.
2525

26-
If you just want to view rich text connte, you can use the `RichTextViewer` SwiftUI view, which wraps the editor and applies a read-only configuration to it.
26+
If you just want to view rich text content, you can use the `RichTextViewer` SwiftUI view, which wraps the editor and applies a read-only configuration to it.
2727

2828

2929

Sources/RichTextKit/TextView/RichTextView_AppKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import AppKit
1313
This is a platform-agnostic rich text view that can be used
1414
in both UIKit and AppKit.
1515

16-
The view inherits `NSTextField` in AppKit and `UITextField`
16+
The view inherits `NSTextView` in AppKit and `UITextView`
1717
in UIKit. It aims to make these views behave more alike and
1818
make them implement ``RichTextViewComponent``, which is the
1919
protocol that is used within this library.

Sources/RichTextKit/TextView/RichTextView_UIKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extension RichTextView: UIDropInteractionDelegate {}
1919
This is a platform-agnostic rich text view that can be used
2020
in both UIKit and AppKit.
2121

22-
The view inherits `NSTextField` in AppKit and `UITextField`
22+
The view inherits `NSTextView` in AppKit and `UITextView`
2323
in UIKit. It aims to make these views behave more alike and
2424
make them implement ``RichTextViewComponent``, which is the
2525
protocol that is used within this library.

0 commit comments

Comments
 (0)