fix: table cell height adaptation #162

This commit is contained in:
Hufe921
2023-03-27 20:59:31 +08:00
parent fda18d968e
commit a2090c82fc
8 changed files with 76 additions and 4 deletions
+3
View File
@@ -34,6 +34,9 @@ export function formatElementList(elementList: IElement[], options: IFormatEleme
const tr = el.trList[t]
const trId = getUUID()
tr.id = trId
if (!tr.minHeight || tr.minHeight < editorOptions.defaultTrMinHeight) {
tr.minHeight = editorOptions.defaultTrMinHeight
}
for (let d = 0; d < tr.tdList.length; d++) {
const td = tr.tdList[d]
const tdId = getUUID()