mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-13 18:54:21 +01:00
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
Add a link
Reference in a new issue