Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0692191

Browse files
author
Tosin Afolabi
committed
Merge pull request slackhq#359 from slackhq/text-formatting-fixes
Doesn't avoid the Define, Replace and Share native control menu items
2 parents 74890b8 + 45563b7 commit 0692191

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Source/SLKTextView.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,6 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
593593
return NO;
594594
}
595595

596-
if (action == NSSelectorFromString(@"_share:") || action == NSSelectorFromString(@"_define:") || action == NSSelectorFromString(@"_promptForReplace:")) {
597-
return NO;
598-
}
599-
600596
if (action == @selector(slk_presentFormattingMenu:)) {
601597
return self.selectedRange.length > 0 ? YES : NO;
602598
}

0 commit comments

Comments
 (0)