mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Clean code
This commit is contained in:
parent
215f37a072
commit
21823e11d8
12 changed files with 39 additions and 39 deletions
|
|
@ -10,7 +10,7 @@ import {lineNumberRender} from "../render/highlightRender";
|
|||
export const initUI = (protyle: IProtyle) => {
|
||||
protyle.contentElement = document.createElement("div");
|
||||
protyle.contentElement.className = "protyle-content";
|
||||
protyle.contentElement.innerHTML = `<div class="protyle-top"></div>`
|
||||
protyle.contentElement.innerHTML = "<div class=\"protyle-top\"></div>";
|
||||
if (protyle.options.render.background) {
|
||||
protyle.contentElement.firstElementChild.appendChild(protyle.background.element);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue