mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
ad60a28278
commit
d0307c472d
6 changed files with 27 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
|||
document.body.insertAdjacentHTML('afterBegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconLiandi" viewBox="0 0 32 32">
|
||||
<path fill="#d23f31" d="M5.787 17.226h17.033l5.954 9.528c0.47 0.752 0.003 1.361-1.042 1.361h-15.141z"></path>
|
||||
<path fill="#3b3e43" d="M10.74 3.927h17.033c1.045 0 1.512 0.609 1.042 1.361l-5.954 9.528h-19.872l6.379-10.209c0.235-0.376 0.849-0.681 1.372-0.681z"></path>
|
||||
<path fill="#3b3e43" d="M2.953 17.226h2.839l6.804 10.889h-1.892c-0.523 0-1.137-0.305-1.372-0.681z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconRiffCard" viewBox="0 0 32 32">
|
||||
<path d="M12.472 31.5l1.765-12.142h-6.286q-0.474 0-0.689-0.431t0-0.818l10.549-17.61h1.765l-1.765 12.099h6.2q0.474 0 0.71 0.431t0.022 0.818l-10.506 17.653z"></path>
|
||||
</symbol>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
"name": "ant",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.9.0"
|
||||
"version": "1.10.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,12 @@
|
|||
<body>
|
||||
<h2>SiYuan</h2>
|
||||
<div class="fn__clear">
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconLiandi"></use>
|
||||
</svg>
|
||||
iconLiandi
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconRiffCard"></use>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconLiandi" viewBox="0 0 32 32">
|
||||
<path fill="#d23f31" d="M5.787 17.226h17.033l5.954 9.528c0.47 0.752 0.003 1.361-1.042 1.361h-15.141z"></path>
|
||||
<path fill="#3b3e43" d="M10.74 3.927h17.033c1.045 0 1.512 0.609 1.042 1.361l-5.954 9.528h-19.872l6.379-10.209c0.235-0.376 0.849-0.681 1.372-0.681z"></path>
|
||||
<path fill="#3b3e43" d="M2.953 17.226h2.839l6.804 10.889h-1.892c-0.523 0-1.137-0.305-1.372-0.681z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconRiffCard" viewBox="0 0 32 32">
|
||||
<path d="M12.472 31.5l1.765-12.142h-6.286q-0.474 0-0.689-0.431t0-0.818l10.549-17.61h1.765l-1.765 12.099h6.2q0.474 0 0.71 0.431t0.022 0.818l-10.506 17.653z"></path>
|
||||
</symbol>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
"name": "material",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.9.0"
|
||||
"version": "1.10.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -247,6 +247,15 @@ export class Breadcrumb {
|
|||
netImg2LocalAssets(protyle);
|
||||
}
|
||||
}).element);
|
||||
if (!needSubscribe()) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.share2Liandi,
|
||||
icon: "iconLiandi",
|
||||
click() {
|
||||
fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
|
||||
}
|
||||
}).element);
|
||||
}
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.optimizeTypography,
|
||||
icon: "iconFormat",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue