diff --git a/ui/drawer.js b/ui/drawer.js index f9f2b93..0062795 100644 --- a/ui/drawer.js +++ b/ui/drawer.js @@ -97,6 +97,10 @@ async function initializePanel(contentPanel, errorContainer) { const worldEditorPanelHtml = ``; mainContainer.append(worldEditorPanelHtml); + const glossaryContent = await $.get(`${extensionFolderPath}/assets/amily2-glossary.html`); + const glossaryPanelHtml = ``; + mainContainer.append(glossaryPanelHtml); + // 在面板创建后,加载世界书编辑器脚本 const worldEditorScriptId = 'world-editor-script'; if (!document.getElementById(worldEditorScriptId)) {