import { redo as redoHandle } from '@codemirror/commands'; import { ICommand } from '.'; export const redo: ICommand = { name: 'redo', keyCommand: 'redo', button: { 'aria-label': 'redo text' }, icon: ( ), execute: ({ state, view }) => { if (!state || !view) return; redoHandle(view); }, };