mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🎨 移动端输入法
This commit is contained in:
@@ -610,6 +610,11 @@ export const initKeyboardToolbar = () => {
|
||||
if (toolbarElement.clientHeight > 100) {
|
||||
hideKeyboardToolbarUtil();
|
||||
focusByRange(range);
|
||||
if (window.JSAndroid && window.JSAndroid.showKeyboard) {
|
||||
window.JSAndroid.showKeyboard();
|
||||
} else if (window.JSHarmony && window.JSHarmony.showKeyboard) {
|
||||
window.JSHarmony.showKeyboard();
|
||||
}
|
||||
} else {
|
||||
activeBlur();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user