UNPKG

@atlaskit/editor-plugin-undo-redo

Version:

Undo redo plugin for @atlaskit/editor-core

11 lines (10 loc) • 807 B
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics/api'; import type { Command } from '@atlaskit/editor-common/types/command'; export declare const undoFromKeyboard: Command; export declare const redoFromKeyboard: Command; export declare const undoFromToolbar: Command; export declare const redoFromToolbar: Command; export declare const undoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command; export declare const redoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command; export declare const undoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command; export declare const redoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;