mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-10 18:58:50 +01:00
This commit is contained in:
parent
c1d2259eac
commit
9d1c83ce37
7 changed files with 63 additions and 48 deletions
|
|
@ -113,6 +113,9 @@ export const getSyncCloudList = (cloudPanelElement: Element, reload = false, cb?
|
|||
};
|
||||
|
||||
export const syncGuide = (element?: Element) => {
|
||||
if (window.siyuan.config.readonly) {
|
||||
return;
|
||||
}
|
||||
if (element && element.classList.contains("toolbar__item--active")) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue