diff --git a/Sources/Runestone/TextView/Core/TextInputView.swift b/Sources/Runestone/TextView/Core/TextInputView.swift index a7b2f2c1..e68dba29 100644 --- a/Sources/Runestone/TextView/Core/TextInputView.swift +++ b/Sources/Runestone/TextView/Core/TextInputView.swift @@ -730,7 +730,9 @@ final class TextInputView: UIView, UITextInput { override func cut(_ sender: Any?) { if let selectedTextRange = selectedTextRange, let text = text(in: selectedTextRange) { UIPasteboard.general.string = text + inputDelegate?.selectionWillChange(self) replace(selectedTextRange, withText: "") + inputDelegate?.selectionDidChange(self) } }