mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 09:14:20 +01:00
🎨 Improve text https://github.com/siyuan-note/siyuan/issues/14447
This commit is contained in:
parent
69642e3bac
commit
3ebfdf6c5b
21 changed files with 77 additions and 72 deletions
|
|
@ -13,6 +13,7 @@ import {Dialog} from "../../dialog";
|
|||
import {replaceLocalPath} from "../../editor/rename";
|
||||
import {setStorageVal} from "../util/compatibility";
|
||||
import {isPaidUser} from "../../util/needSubscribe";
|
||||
import {getCloudURL} from "../../config/util/about";
|
||||
|
||||
export const saveExport = (option: IExportOptions) => {
|
||||
/// #if !BROWSER
|
||||
|
|
@ -258,7 +259,7 @@ const renderPDF = async (id: string) => {
|
|||
</div>
|
||||
<span class="fn__hr"></span>
|
||||
<input id="watermark" class="b3-switch" type="checkbox" ${localData.watermark ? "checked" : ""}>
|
||||
<div style="display:none;font-size: 12px;margin-top: 12px;color: var(--b3-theme-on-surface);">${window.siyuan.languages._kernel[214]}</div>
|
||||
<div style="display:none;font-size: 12px;margin-top: 12px;color: var(--b3-theme-on-surface);">${window.siyuan.languages._kernel[214].replaceAll("${accountServer}", getCloudURL(""))}</div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="fn__flex" style="padding: 0 16px">
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import {processRender} from "../util/processCode";
|
|||
import {isIPhone, isSafari, openByMobile, setStorageVal} from "../util/compatibility";
|
||||
import {showFileInFolder} from "../../util/pathName";
|
||||
import {isPaidUser} from "../../util/needSubscribe";
|
||||
import {getCloudURL} from "../../config/util/about";
|
||||
|
||||
export const afterExport = (exportPath: string, msgId: string) => {
|
||||
/// #if !BROWSER
|
||||
|
|
@ -105,7 +106,7 @@ export const exportImage = (id: string) => {
|
|||
window.siyuan.storage[Constants.LOCAL_EXPORTIMG].watermark = watermarkElement.checked;
|
||||
if (watermarkElement.checked && !isPaidUser()) {
|
||||
watermarkElement.checked = false;
|
||||
showMessage(window.siyuan.languages._kernel[214]);
|
||||
showMessage(window.siyuan.languages._kernel[214].replaceAll("${accountServer}", getCloudURL("")));
|
||||
}
|
||||
updateWatermark();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue