mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
ad05215b18
commit
e8f1808cb0
3 changed files with 109 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ import {rename} from "../editor/rename";
|
|||
import {matchHotKey} from "../protyle/util/hotKey";
|
||||
import * as dayjs from "dayjs";
|
||||
import {Constants} from "../constants";
|
||||
import {exportImage} from "../protyle/export/util";
|
||||
|
||||
const bindAttrInput = (inputElement: HTMLInputElement, confirmElement: Element) => {
|
||||
inputElement.addEventListener("keydown", (event) => {
|
||||
|
|
@ -669,6 +670,12 @@ export const exportMd = (id: string) => {
|
|||
openByMobile(response.data.zip);
|
||||
});
|
||||
}
|
||||
}, {
|
||||
label: window.siyuan.languages.image,
|
||||
icon: "iconImage",
|
||||
click: () => {
|
||||
exportImage(id);
|
||||
}
|
||||
},
|
||||
/// #if !BROWSER
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue