mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
This commit is contained in:
parent
24994d993f
commit
211f97b67b
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ export const fontEvent = (protyle: IProtyle, type?: string, color?: string) => {
|
|||
if (localFontStyles.length > 8) {
|
||||
localFontStyles.splice(7, 1);
|
||||
}
|
||||
window.siyuan.storage[Constants.LOCAL_FONTSTYLES] = localFontStyles;
|
||||
setStorageVal(Constants.LOCAL_FONTSTYLES, window.siyuan.storage[Constants.LOCAL_FONTSTYLES]);
|
||||
} else {
|
||||
if (localFontStyles.length === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue