Skip to content

Commit

Permalink
Merge pull request #170 from martindufort/fix-doc-typos
Browse files Browse the repository at this point in the history
Fix documentation typos.
  • Loading branch information
danielsaidi authored Apr 28, 2024
2 parents 29cd3d2 + 5ed2e39 commit 117393e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RichTextKit is a Swift SDK that lets you edit rich text in `Swift` & `SwiftUI` w

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.

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.
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.



Expand Down
2 changes: 1 addition & 1 deletion Sources/RichTextKit/TextView/RichTextView_AppKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import AppKit
This is a platform-agnostic rich text view that can be used
in both UIKit and AppKit.
The view inherits `NSTextField` in AppKit and `UITextField`
The view inherits `NSTextView` in AppKit and `UITextView`
in UIKit. It aims to make these views behave more alike and
make them implement ``RichTextViewComponent``, which is the
protocol that is used within this library.
Expand Down
2 changes: 1 addition & 1 deletion Sources/RichTextKit/TextView/RichTextView_UIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension RichTextView: UIDropInteractionDelegate {}
This is a platform-agnostic rich text view that can be used
in both UIKit and AppKit.
The view inherits `NSTextField` in AppKit and `UITextField`
The view inherits `NSTextView` in AppKit and `UITextView`
in UIKit. It aims to make these views behave more alike and
make them implement ``RichTextViewComponent``, which is the
protocol that is used within this library.
Expand Down

0 comments on commit 117393e

Please sign in to comment.