📱 键盘收起
This commit is contained in:
parent
bef40da746
commit
fbf1b632ee
2 changed files with 5 additions and 0 deletions
|
@ -85,8 +85,10 @@ export const initKeyboardToolbar = () => {
|
|||
}
|
||||
if (type === "outdent") {
|
||||
listOutdent(protyle, [nodeElement.parentElement], range);
|
||||
focusByRange(range);
|
||||
} else if (type === "indent") {
|
||||
listIndent(protyle, [nodeElement.parentElement], range);
|
||||
focusByRange(range);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
@ -621,6 +621,9 @@ export class Toolbar {
|
|||
if (wbrElement) {
|
||||
wbrElement.remove();
|
||||
}
|
||||
if (isMobile()) {
|
||||
focusByRange(this.range);
|
||||
}
|
||||
}
|
||||
|
||||
public showFileAnnotationRef(protyle: IProtyle, refElement: HTMLElement) {
|
||||
|
|
Loading…
Add table
Reference in a new issue