Merge pull request #14227 from overleaf/mj-table-gen-booktabs

[visual] Support booktabs horizontal borders

GitOrigin-RevId: 9e59341b514c667fbba4154e6316274f9e42db3d
This commit is contained in:
Mathias Jakobsen
2023-08-15 08:02:54 +00:00
committed by Copybot
parent 6d8c8e678e
commit 63b09c3da3
3 changed files with 14 additions and 5 deletions
@@ -71,7 +71,7 @@ const isRowSeparator = (node: SyntaxNode, state: EditorState) =>
const isHLine = (node: SyntaxNode) =>
node.type.is('Command') &&
Boolean(node.getChild('KnownCommand')?.getChild('HLine'))
Boolean(node.getChild('KnownCommand')?.getChild('HorizontalLine'))
type Position = {
from: number