Skip to content

Commit

Permalink
Expose writing tools via EditorView
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeep committed Nov 16, 2024
1 parent a134e7d commit f01735f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Proton/Sources/Swift/Editor/EditorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ open class EditorView: UIView {
set { richTextView.lineNumberFormatting = newValue }
}

@available(iOSApplicationExtension 18.0, *)
public var writingToolsBehavior: UIWritingToolsBehavior {

Check failure on line 228 in Proton/Sources/Swift/Editor/EditorView.swift

View workflow job for this annotation

GitHub Actions / Xcode test results

error

Cannot find type 'UIWritingToolsBehavior' in scope
get { richTextView.writingToolsBehavior }
set { richTextView.writingToolsBehavior = newValue }
}

public override var bounds: CGRect {
didSet {
guard oldValue != bounds else { return }
Expand Down

0 comments on commit f01735f

Please sign in to comment.