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