工作空间/data/ 文件夹",
"includeChildDoc": "包含子文档",
"text": "文本",
- "lastUsed": "最近使用过的外观",
+ "lastUsed": "Recently used appearance",
"removedNotebook": "已删除的笔记本",
"querySyntax": "查询语法",
"rollback": "回滚",
diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.ts
index e7847ef16..17b9c5fe9 100644
--- a/app/src/protyle/toolbar/Font.ts
+++ b/app/src/protyle/toolbar/Font.ts
@@ -82,7 +82,7 @@ export const appearanceMenu = (protyle: IProtyle, nodeElements?: Element[]) => {
lastColorHTML += ``;
break;
case "fontSize":
- lastColorHTML += ``;
+ lastColorHTML += ``;
break;
case "style1":
lastColorHTML += ``;
@@ -167,7 +167,7 @@ export const appearanceMenu = (protyle: IProtyle, nodeElements?: Element[]) => {
if (dataType === "style1") {
fontEvent(protyle, nodeElements, dataType, target.style.backgroundColor + Constants.ZWSP + target.style.color);
} else if (dataType === "fontSize") {
- fontEvent(protyle, nodeElements, dataType, target.style.fontSize);
+ fontEvent(protyle, nodeElements, dataType, target.textContent.trim());
} else if (dataType === "backgroundColor") {
fontEvent(protyle, nodeElements, dataType, target.style.backgroundColor);
} else if (dataType === "color") {