mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 02:25:01 +08:00
imported table width
This commit is contained in:
@@ -85,7 +85,7 @@ export function normalizeTableColumnWidths(
|
|||||||
firstRow.children('td, th').each(function () {
|
firstRow.children('td, th').each(function () {
|
||||||
count += parseInt($(this).attr('colspan') || '1', 10) || 1;
|
count += parseInt($(this).attr('colspan') || '1', 10) || 1;
|
||||||
});
|
});
|
||||||
if (count < 5) return;
|
if (count < 6) return;
|
||||||
colWidths = new Array(count).fill(DEFAULT_IMPORT_COL_WIDTH_PX);
|
colWidths = new Array(count).fill(DEFAULT_IMPORT_COL_WIDTH_PX);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user