diff --git a/Source/SLKTextView.m b/Source/SLKTextView.m index c675b27a..a08033ad 100644 --- a/Source/SLKTextView.m +++ b/Source/SLKTextView.m @@ -597,8 +597,8 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender return self.selectedRange.length > 0 ? YES : NO; } - if (action == @selector(paste:)) { - return [self slk_isPasteboardItemSupported]; + if (action == @selector(paste:) && [self slk_isPasteboardItemSupported]) { + return YES; } if (self.undoManagerEnabled) {