mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-27 01:14:07 +01:00
This commit is contained in:
parent
3a93650d9d
commit
f3366c05b6
12 changed files with 376 additions and 338 deletions
|
|
@ -19,6 +19,7 @@ import {MobileBookmarks} from "./MobileBookmarks";
|
|||
import {MobileTags} from "./MobileTags";
|
||||
import {hideKeyboardToolbar, initKeyboardToolbar} from "./showKeyboardToolbar";
|
||||
import {getSearch} from "../../util/functions";
|
||||
import {syncGuide} from "../../sync/syncGuide";
|
||||
|
||||
export const initFramework = () => {
|
||||
setInlineStyle();
|
||||
|
|
@ -154,6 +155,11 @@ export const initFramework = () => {
|
|||
if (window.siyuan.config.newbie) {
|
||||
mountHelp();
|
||||
}
|
||||
const transactionTipElement = document.getElementById("transactionTip");
|
||||
transactionTipElement.innerHTML = `${window.siyuan.languages.waitSync} <button class="b3-button">${window.siyuan.languages.syncNow}</button>`
|
||||
transactionTipElement.querySelector(".b3-button").addEventListener(getEventName(), () => {
|
||||
syncGuide();
|
||||
});
|
||||
};
|
||||
|
||||
const initEditorName = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue