Skip to content

Commit

Permalink
Single Quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
cwstra authored Oct 14, 2024
1 parent 1467755 commit 2a02322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lexical-table/src/LexicalTableNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,10 @@ export function $convertTableElement(
if (domNode.hasAttribute('data-lexical-row-striping')) {
tableNode.setRowStriping(true);
}
const colGroup = domNode.querySelector(":scope > colgroup");
const colGroup = domNode.querySelector(':scope > colgroup');
if (colGroup) {
let columns: number[] | undefined = [];
for (const col of colGroup.querySelectorAll(":scope > col")) {
for (const col of colGroup.querySelectorAll(':scope > col')) {
const width = (col as HTMLElement).style.width;
if (!width || !PIXEL_VALUE_REG_EXP.test(width)) {
columns = undefined;
Expand Down

0 comments on commit 2a02322

Please sign in to comment.