This commit is contained in:
Vanessa 2022-08-30 21:03:40 +08:00
parent 4709fe6b7f
commit 71d73a9295

View file

@ -985,7 +985,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
selectElements = [nodeElement];
}
updateBatchTransaction(selectElements, protyle, (e: HTMLElement) => {
e.style.textAlign = "";
e.style.textAlign = "left";
});
}
event.stopPropagation();