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>
|
||||
footer:
|
||||
label: Footer
|
||||
text: This will insert before </html>.
|
||||
text: This will insert before </body>.
|
||||
sidebar:
|
||||
label: Sidebar
|
||||
text: This will insert in sidebar.
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue