diff --git a/Proton/Sources/Swift/Editor/EditorView.swift b/Proton/Sources/Swift/Editor/EditorView.swift index 44a3fd49..d29b5317 100644 --- a/Proton/Sources/Swift/Editor/EditorView.swift +++ b/Proton/Sources/Swift/Editor/EditorView.swift @@ -224,6 +224,12 @@ open class EditorView: UIView { set { richTextView.lineNumberFormatting = newValue } } + @available(iOSApplicationExtension 18.0, *) + public var writingToolsBehavior: UIWritingToolsBehavior { + get { richTextView.writingToolsBehavior } + set { richTextView.writingToolsBehavior = newValue } + } + public override var bounds: CGRect { didSet { guard oldValue != bounds else { return }