@supernova-studio/client 0.54.24 → 0.54.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -593,7 +593,7 @@ function parseAsTableCell(prosemirrorNode: ProsemirrorNode): PageBlockItemTableC
|
|
|
593
593
|
const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z.string().optional());
|
|
594
594
|
|
|
595
595
|
let columnWidth: number | undefined;
|
|
596
|
-
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z.array(z.number()).
|
|
596
|
+
const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z.array(z.number()).nullish());
|
|
597
597
|
if (columnWidthArray) {
|
|
598
598
|
columnWidth = roundDimension(columnWidthArray[0]);
|
|
599
599
|
}
|