mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
aa56c16830
commit
4312e46d27
3 changed files with 4 additions and 6 deletions
|
|
@ -9,7 +9,6 @@ import {MenuItem} from "../menus/Menu";
|
|||
import {setMode} from "../util/assets";
|
||||
import {openSetting} from "../config";
|
||||
import {openSearch} from "../search/spread";
|
||||
import {App} from "../index";
|
||||
|
||||
export const updateEditModeElement = () => {
|
||||
const target = document.querySelector("#barReadonly");
|
||||
|
|
@ -24,7 +23,7 @@ export const updateEditModeElement = () => {
|
|||
}
|
||||
};
|
||||
|
||||
export const initBar = (app: App) => {
|
||||
export const initBar = () => {
|
||||
const toolbarElement = document.getElementById("toolbar");
|
||||
toolbarElement.innerHTML = `
|
||||
<div id="barWorkspace" class="toolbar__item">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue