fix fixTables
This commit is contained in:
@@ -131,13 +131,11 @@ export const Table = Node.create({
|
|||||||
return goToNextCell(-1)(state, dispatch)
|
return goToNextCell(-1)(state, dispatch)
|
||||||
},
|
},
|
||||||
fixTables: (): Command => ({ state, dispatch }) => {
|
fixTables: (): Command => ({ state, dispatch }) => {
|
||||||
const transaction = fixTables(state)
|
if (dispatch) {
|
||||||
|
fixTables(state)
|
||||||
if (transaction) {
|
|
||||||
return dispatch?.(transaction)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false
|
return true
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user