diff --git a/packages/mini-markdown-editor/src/assets/images/save.svg b/packages/mini-markdown-editor/src/assets/images/save.svg new file mode 100644 index 0000000000000000000000000000000000000000..37ff913724b0e48713e4fa267385a107287ebc19 --- /dev/null +++ b/packages/mini-markdown-editor/src/assets/images/save.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/mini-markdown-editor/src/common/help.ts b/packages/mini-markdown-editor/src/common/help.ts index 406038c3654a3d726b081318cc43d57531089535..5e83452b8997a1170efe6bd8a0a21409c8e3147d 100644 --- a/packages/mini-markdown-editor/src/common/help.ts +++ b/packages/mini-markdown-editor/src/common/help.ts @@ -17,6 +17,7 @@ import Redo from "@/assets/images/redo.svg?raw"; import Image from "@/assets/images/image.svg?raw"; import ThematicBreak from "@/assets/images/thematic-break.svg?raw"; import FullScreenIcon from "@/assets/images/fullscreen.svg?raw"; +import SaveIcon from "@/assets/images/save.svg?raw"; import { Hotkey } from "./hotkeys"; @@ -188,7 +189,7 @@ export const shortcuts = [ }, { title: "保存", - icon: "", + icon: SaveIcon, rule: Hotkey.SAVE.helpCommand, }, ];