diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.ts index 51c17660c..4ad57c366 100644 --- a/app/src/protyle/toolbar/Font.ts +++ b/app/src/protyle/toolbar/Font.ts @@ -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) {