diff --git a/packages/plugin-history/src/index.ts b/packages/plugin-history/src/index.ts index 6d9bdeb6ff4d..caf39a3da07d 100644 --- a/packages/plugin-history/src/index.ts +++ b/packages/plugin-history/src/index.ts @@ -26,9 +26,9 @@ withMeta(undoCommand, { }) /// The milkdown command wrapper of [redo API](https://prosemirror.net/docs/ref/#history.redo) in [prosemirror-history](https://prosemirror.net/docs/ref/#history). -export const redoCommand = $command('Undo', () => () => redo) +export const redoCommand = $command('Redo', () => () => redo) -withMeta(undoCommand, { +withMeta(redoCommand, { displayName: 'Command', })