Vanessa 2024-09-27 11:16:56 +08:00
parent ca6a058144
commit c1453915a2

View file

@ -1426,7 +1426,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
id,
type: isMatchList ? "TL2UL" : "TL2OL",
});
} else if (isMatchCheck || isMatchOList) {
} else if (subType === "u" && (isMatchCheck || isMatchOList)) {
turnsOneInto({
protyle,
nodeElement: selectsElement[0],