fix(editor): android bs keyboard provider error (#11647)

### What Changes
- fixed keyboard service can not be initialized since a anonymous `BSKeyboardWithActionService` class was provider to di
- fixed tool panel was not closed when focus on other pragraph by clicking
- optimized code structure of fallback `show` and `hide` of keyboard
This commit is contained in:
L-Sun committed 2025-04-13 09:59:24 +00:00
1 parent 076c5ba044
commit e1cb8198f1
5 files changed
+43 -33

No files matched your search

@@ -15,3 +15,9 @@ export interface VirtualKeyboardProviderWithAction
export const VirtualKeyboardProvider = createIdentifier<
VirtualKeyboardProvider | VirtualKeyboardProviderWithAction
>('VirtualKeyboardProvider');
export function isVirtualKeyboardProviderWithAction(
provider: VirtualKeyboardProvider
): provider is VirtualKeyboardProviderWithAction {
return 'show' in provider && 'hide' in provider;
}