diff --git a/index.html b/index.html
index cdff544b2..ee164bd3a 100644
--- a/index.html
+++ b/index.html
@@ -31,11 +31,23 @@
微软雅黑
- - 微软雅黑
- - 宋体
- - 黑体
- - Arial
- - Fantasy
+ - 微软雅黑
+ - 宋体
+ - 黑体
+ - 仿宋
+ - 楷体
+ - 等线
+ - 华文琥珀
+ - 华文楷体
+ - 华文隶书
+ - 华文新魏
+ - 华文行楷
+ - 华文中宋
+ - 华文彩云
+ - Arial
+ - Segoe UI
+ - Ink Free
+ - Fantasy
diff --git a/src/main.ts b/src/main.ts
index 7303242ad..efd83b9d5 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -925,9 +925,10 @@ window.onload = function () {
// 富文本
fontOptionDom.querySelectorAll('li').forEach(li => li.classList.remove('active'))
- const curFontDom = fontOptionDom.querySelector(`[data-family=${payload.font}]`)
+ const curFontDom = fontOptionDom.querySelector(`[data-family='${payload.font}']`)
if (curFontDom) {
fontSelectDom.innerText = curFontDom.innerText
+ fontSelectDom.style.fontFamily = payload.font
curFontDom.classList.add('active')
}
payload.bold ? boldDom.classList.add('active') : boldDom.classList.remove('active')