We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f25b7c commit b47078fCopy full SHA for b47078f
Core/Sources/SuggestionWidget/CustomTextEditor.swift
@@ -30,6 +30,7 @@ struct CustomTextEditor: NSViewRepresentable {
30
let textView = (context.coordinator.theTextView.documentView as! NSTextView)
31
guard textView.string != text else { return }
32
textView.string = text
33
+ textView.undoManager?.removeAllActions()
34
}
35
36
0 commit comments