This commit is contained in:
parent
f9bca0f378
commit
59e3781d22
1 changed files with 2 additions and 2 deletions
|
@ -203,8 +203,8 @@ export const fontEvent = (protyle: IProtyle, nodeElements: Element[], type?: str
|
|||
color = "var(--b3-card-error-color)" + Constants.ZWSP + "var(--b3-card-error-background)";
|
||||
} else {
|
||||
const fontStyles = localFontStyles[0].split(Constants.ZWSP);
|
||||
type = fontStyles[0];
|
||||
color = fontStyles[1];
|
||||
type = fontStyles.splice(0, 1)[0];
|
||||
color = fontStyles.join(Constants.ZWSP);
|
||||
}
|
||||
}
|
||||
if (nodeElements && nodeElements.length > 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue