I\'m trying to create a simple NSTextView-based window for simple WYSIWYG editing. However, I only want to allow certain types of formatting (e.g. Bold, Italic, Underline a
In your NSTextView subclass:
override func paste(_ sender: Any?) { pasteAsPlainText(sender) }