A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
feat: Updated **footer** insertion location and related hints.
haitaoo8fcb04044246
diff --git a/i18n/en_US.yaml b/i18n/en_US.yamlindex 3c8d9704..1a251c72 100644--- a/i18n/en_US.yaml+++ b/i18n/en_US.yaml@@ -1631,7 +1631,7 @@ ui:text: This will insert after <body>footer:label: Footer- text: This will insert before </html>.+ text: This will insert before </body>.sidebar:label: Sidebartext: This will insert in sidebar.diff --git a/ui/src/components/Customize/index.tsx b/ui/src/components/Customize/index.tsxindex 33875414..6833a696 100644--- a/ui/src/components/Customize/index.tsx+++ b/ui/src/components/Customize/index.tsx@@ -91,7 +91,7 @@ const handleCustomHeader = (content) => {};const handleCustomFooter = (content) => {- const el = document.documentElement;+ const el = document.body;renderCustomArea(el, CUSTOM_MARK_FOOTER, 'beforeend', content);};