mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user