修改换行逻辑和段落查看方式

This commit is contained in:
yhy
2026-08-30 07:44:59 +08:00
parent 54f004a56c
commit ce79275d41
14 changed files with 489 additions and 232 deletions
+2
View File
@@ -49,6 +49,7 @@ export function registerChatPane() {
body.replaceChildren();
const doc = body.ownerDocument;
if (!doc) return;
applyItemPaneSectionButtonIcons(body);
const loading = doc.createElement("div");
loading.className = "chatpapers-loading";
loading.textContent = getString("chat-loading");
@@ -72,6 +73,7 @@ export function registerChatPane() {
}
},
onToggle: ({ body, event }) => {
applyItemPaneSectionButtonIcons(body);
onItemPaneSectionToggle({ body, event });
},
});