Vanessa 2023-03-03 23:16:23 +08:00
parent 5c0a1ae31a
commit 219d714f49
3 changed files with 5 additions and 4 deletions

View file

@ -162,8 +162,7 @@ export const initKeyboardToolbar = () => {
protyle.toolbar.setInlineMark(protyle, type, "toolbar");
return ;
}
// block element
// TODO block element
if (type === "up") {
moveToUp(protyle, nodeElement, range);
focusByRange(range);