修改换行逻辑和段落查看方式
This commit is contained in:
@@ -49,6 +49,7 @@ export function registerLecturePane() {
|
||||
body.replaceChildren();
|
||||
const doc = body.ownerDocument;
|
||||
if (!doc) return;
|
||||
applyItemPaneSectionButtonIcons(body);
|
||||
const loading = doc.createElement("div");
|
||||
loading.className = "chatpapers-loading";
|
||||
loading.textContent = getString("lecture-loading");
|
||||
@@ -81,6 +82,7 @@ export function registerLecturePane() {
|
||||
}
|
||||
},
|
||||
onToggle: ({ body, event }) => {
|
||||
applyItemPaneSectionButtonIcons(body);
|
||||
onItemPaneSectionToggle({ body, event });
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user