feat: Updated **footer** insertion location and related hints.

This commit is contained in:
haitaoo 2023-07-13 17:06:55 +08:00
parent 08d5528e4e
commit 8fcb040442
2 changed files with 2 additions and 2 deletions

View File

@ -1631,7 +1631,7 @@ ui:
text: This will insert after <body> text: This will insert after <body>
footer: footer:
label: Footer label: Footer
text: This will insert before </html>. text: This will insert before </body>.
sidebar: sidebar:
label: Sidebar label: Sidebar
text: This will insert in sidebar. text: This will insert in sidebar.

View File

@ -91,7 +91,7 @@ const handleCustomHeader = (content) => {
}; };
const handleCustomFooter = (content) => { const handleCustomFooter = (content) => {
const el = document.documentElement; const el = document.body;
renderCustomArea(el, CUSTOM_MARK_FOOTER, 'beforeend', content); renderCustomArea(el, CUSTOM_MARK_FOOTER, 'beforeend', content);
}; };