diff --git a/src/commands/image.tsx b/src/commands/image.tsx index 8ad0fedba..fee2f092f 100644 --- a/src/commands/image.tsx +++ b/src/commands/image.tsx @@ -11,10 +11,10 @@ export const image: ICommand = { ), execute: (editor, selection, position) => { - const value = selection ? `${selection} ![](图片地址 "图片描述")` : '![图片描述](图片地址 "图片描述")\n'; + const value = selection ? `${selection} ![]()` : '![]()\n'; editor.replaceSelection(value); // position.ch = !!selection ? position.ch : position.ch + 1; editor.setCursor(position.line, position.ch); editor.focus(); }, -}; \ No newline at end of file +};