mirror of https://gitee.com/answerdev/answer.git
feat: Updated **footer** insertion location and related hints.
This commit is contained in:
parent
08d5528e4e
commit
8fcb040442
|
@ -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.
|
||||||
|
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue