Skip to content

Commit d5c6858

Browse files
committed
feat: export more commands. #217
1 parent e43d405 commit d5c6858

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

core/src/commands/index.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,23 @@ export const getCommands: () => ICommand[] = () =>
5353
.map((key) => defaultCommands[key as keyof typeof defaultCommands]);
5454

5555
export const getModeCommands: () => ICommand[] = () => [preview, fullscreen];
56+
57+
export {
58+
bold,
59+
code,
60+
codeBlock,
61+
italic,
62+
header,
63+
strike,
64+
underline,
65+
olist,
66+
ulist,
67+
quote,
68+
link,
69+
todo,
70+
image,
71+
redo,
72+
undo,
73+
fullscreen,
74+
preview,
75+
};

0 commit comments

Comments
 (0)