mirror of
https://github.com/ruilisi/fortune-sheet.git
synced 2025-01-09 04:07:33 +08:00
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:
commit
0d5aee5e4d
@ -72,6 +72,7 @@ export function convertCssToStyleList(cssText: string, originCell: Cell) {
|
|||||||
un: originCell.un || 0, // underline
|
un: originCell.un || 0, // underline
|
||||||
bl: originCell.bl || 0, // blod
|
bl: originCell.bl || 0, // blod
|
||||||
it: originCell.it || 0, // italic
|
it: originCell.it || 0, // italic
|
||||||
|
ff: originCell.ff || 0, // font family
|
||||||
};
|
};
|
||||||
cssTextArray.forEach((s) => {
|
cssTextArray.forEach((s) => {
|
||||||
s = s.toLowerCase();
|
s = s.toLowerCase();
|
||||||
|
Loading…
Reference in New Issue
Block a user