Vanessa 2022-06-28 23:20:12 +08:00
parent 38a7d48eac
commit cd9d2d5915
3 changed files with 118 additions and 38 deletions

View file

@ -312,7 +312,7 @@ export const fixTable = (protyle: IProtyle, event: KeyboardEvent, range: Range)
}
// tab光标移向下一个 cell
if (event.key === "Tab") {
if (event.key === "Tab" && !event.ctrlKey) {
if (event.shiftKey) {
// shift + tab 光标移动到前一个 cell
goPreviousCell(cellElement, range);