mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #14740 from overleaf/mj-table-ignore-blankline
[visual] Ignore blanklines before cells GitOrigin-RevId: d0886415c38f9c300f694169fa17bb3f66dd4202
This commit is contained in:
parent
8668fd3a15
commit
a080c7294b
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ function parseTabularBody(
|
||||||
} else if (
|
} else if (
|
||||||
currentChild.type.is('NewLine') ||
|
currentChild.type.is('NewLine') ||
|
||||||
currentChild.type.is('Whitespace') ||
|
currentChild.type.is('Whitespace') ||
|
||||||
currentChild.type.is('Comment')
|
currentChild.type.is('Comment') ||
|
||||||
|
currentChild.type.is('BlankLine')
|
||||||
) {
|
) {
|
||||||
const lastCell = getLastCell()
|
const lastCell = getLastCell()
|
||||||
if (!lastCell?.multiColumn) {
|
if (!lastCell?.multiColumn) {
|
||||||
|
|
Loading…
Reference in a new issue