mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
f016a05fb7
commit
10c181659d
3 changed files with 39 additions and 28 deletions
|
|
@ -90,7 +90,7 @@ const renderPDF = async (id: string) => {
|
|||
themeStyle = `<link rel="stylesheet" type="text/css" id="themeStyle" href="${servePath}/appearance/themes/${window.siyuan.config.appearance.themeLight}/theme.css?${Constants.SIYUAN_VERSION}"/>`;
|
||||
}
|
||||
const currentWindowId = await ipcRenderer.invoke(Constants.SIYUAN_GET, {
|
||||
cmd: "getCurrentWindowId",
|
||||
cmd: "getContentsId",
|
||||
});
|
||||
// data-theme-mode="light" https://github.com/siyuan-note/siyuan/issues/7379
|
||||
const html = `<!DOCTYPE html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue