mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
f4f9610a90
7 changed files with 191 additions and 224 deletions
|
|
@ -392,7 +392,7 @@ export const repos = {
|
|||
<option value="3" ${window.siyuan.config.sync.mode === 3 ? "selected" : ""}>${window.siyuan.languages.syncMode3}</option>
|
||||
</select>
|
||||
</div>
|
||||
<label class="fn__flex b3-label${(window.siyuan.config.sync.mode !== 1 || window.siyuan.config.system.container === "docker" || window.siyuan.config.sync.provider !== 0) ? " fn__none" : ""}">
|
||||
<label class="fn__flex b3-label${(window.siyuan.config.sync.mode !== 1) ? " fn__none" : ""}">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.syncInterval}
|
||||
<div class="b3-label__text">${window.siyuan.languages.syncIntervalTip}</div>
|
||||
|
|
@ -477,9 +477,12 @@ export const repos = {
|
|||
fetchPost("/api/sync/setSyncMode", {mode: parseInt(syncModeElement.value, 10)}, () => {
|
||||
if (syncModeElement.value === "1" && window.siyuan.config.sync.provider === 0 && window.siyuan.config.system.container !== "docker") {
|
||||
syncPerceptionElement.parentElement.classList.remove("fn__none");
|
||||
syncIntervalElement.parentElement.classList.remove("fn__none");
|
||||
} else {
|
||||
syncPerceptionElement.parentElement.classList.add("fn__none");
|
||||
}
|
||||
if (syncModeElement.value === "1") {
|
||||
syncIntervalElement.parentElement.classList.remove("fn__none");
|
||||
} else {
|
||||
syncIntervalElement.parentElement.classList.add("fn__none");
|
||||
}
|
||||
window.siyuan.config.sync.mode = parseInt(syncModeElement.value, 10);
|
||||
|
|
@ -502,9 +505,12 @@ export const repos = {
|
|||
syncConfigElement.classList.add("fn__none");
|
||||
if (window.siyuan.config.sync.mode !== 1 || window.siyuan.config.system.container === "docker" || window.siyuan.config.sync.provider !== 0) {
|
||||
syncPerceptionElement.parentElement.classList.add("fn__none");
|
||||
syncIntervalElement.parentElement.classList.add("fn__none");
|
||||
} else {
|
||||
syncPerceptionElement.parentElement.classList.remove("fn__none");
|
||||
}
|
||||
if (window.siyuan.config.sync.mode !== 1) {
|
||||
syncIntervalElement.parentElement.classList.add("fn__none");
|
||||
} else {
|
||||
syncIntervalElement.parentElement.classList.remove("fn__none");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ export const setInlineStyle = (set = true) => {
|
|||
unicode-range: U+263a, U+2194-2199, U+2934-2935, U+2639, U+26a0, U+25b6, U+25c0, U+23cf, U+2640, U+2642, U+203c, U+2049,
|
||||
U+2611, U+303d, U+00a9, U+00ae, U+2122, U+1f170-1f171, U+24c2, U+1f17e, U+1f17f, U+1f22f, U+1f250, U+1f21a,
|
||||
U+1f232-1f23a, U+1f251, U+3297, U+3299, U+25aa, U+25ab, U+2660, U+2666, U+2665, U+2663, U+1f636, U+1f62e, U+1f642,
|
||||
U+1f635, U+2620, U+2763, U+2764, U+1f441, U+270c, U+261d, U+270d, U+200d, U+e50a, U+3030;
|
||||
U+1f635, U+2620, U+2763, U+2764, U+1f441, U+270c, U+261d, U+270d, U+200d, U+e50a, U+3030, U+21aa, U+21a9;
|
||||
}`;
|
||||
}
|
||||
style += `.b3-typography, .protyle-wysiwyg, .protyle-title {font-size:${window.siyuan.config.editor.fontSize}px !important}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue