添加emoji1

This commit is contained in:
2025-12-15 13:24:43 +08:00
parent 633e6a9123
commit 6963c8016f
13 changed files with 15733 additions and 19 deletions

View File

@@ -231,6 +231,15 @@ static void KBSkinInstallNotificationCallback(CFNotificationCenterRef center,
[self showSettingView:YES];
}
- (void)keyBoardMainView:(KBKeyBoardMainView *)keyBoardMainView didSelectEmoji:(NSString *)emoji {
if (emoji.length == 0) { return; }
[self.textDocumentProxy insertText:emoji];
}
- (void)keyBoardMainViewDidTapEmojiSearch:(KBKeyBoardMainView *)keyBoardMainView {
[KBHUD showInfo:KBLocalized(@"Search coming soon")];
}
// MARK: - KBFunctionViewDelegate
- (void)functionView:(KBFunctionView *)functionView didTapToolActionAtIndex:(NSInteger)index {
// index == 0