Skip to content

Commit c2d2bbf

Browse files
mehmetsefabalikjaywcjlove
authored andcommitted
Update link.tsx
Hard coded string makes it hard for uses in other languages.
1 parent 0f8e93b commit c2d2bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/link.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export const link: ICommand = {
1111
</svg>
1212
),
1313
execute: (editor, selection, position) => {
14-
const value = '[连接说明](连接地址 "连接标题")';
14+
const value = '[]()';
1515
editor.replaceSelection(value);
1616
position.ch = !!selection ? position.ch : position.ch + 1;
1717
editor.setCursor(position.line, position.ch);
1818
editor.focus();
1919
},
20-
};
20+
};

0 commit comments

Comments
 (0)