Merge pull request #623 from Corbe30/bug/font-styling-with-newline-cells

fixed #622: font family not included in css
This commit is contained in:
Sanchit Agarwal 2024-11-18 15:46:24 +05:30 committed by GitHub
commit 0d5aee5e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,6 +72,7 @@ export function convertCssToStyleList(cssText: string, originCell: Cell) {
un: originCell.un || 0, // underline
bl: originCell.bl || 0, // blod
it: originCell.it || 0, // italic
ff: originCell.ff || 0, // font family
};
cssTextArray.forEach((s) => {
s = s.toLowerCase();