This commit is contained in:
Vanessa 2022-11-08 19:25:07 +08:00
parent 0f97325d51
commit 6a143c699f
5 changed files with 9 additions and 9 deletions

View file

@ -105,7 +105,7 @@ export class Toolbar {
this.range.collapse(false);
} else if (event.key === "ArrowUp") {
this.range = setFirstNodeRange(getContenteditableElement(endElement), range);
nodeElement = hasClosestBlock(endElement)
nodeElement = hasClosestBlock(endElement);
if (!nodeElement) {
return;
}