@atlaskit/editor-plugin-undo-redo 2.0.17 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/pm-plugins/keymaps.js +3 -3
- package/dist/cjs/ui/ToolbarUndoRedo/index.js +4 -12
- package/dist/cjs/undoRedoPlugin.js +2 -3
- package/dist/es2019/pm-plugins/keymaps.js +4 -4
- package/dist/es2019/ui/ToolbarUndoRedo/index.js +5 -13
- package/dist/es2019/undoRedoPlugin.js +3 -4
- package/dist/esm/pm-plugins/keymaps.js +4 -4
- package/dist/esm/ui/ToolbarUndoRedo/index.js +5 -13
- package/dist/esm/undoRedoPlugin.js +3 -4
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-undo-redo
|
|
2
2
|
|
|
3
|
+
## 2.0.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.0.18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#165113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165113)
|
|
14
|
+
[`867bcb05452bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/867bcb05452bf) -
|
|
15
|
+
Cleaned up platform_editor_controls_patch_analytics and platform_editor_controls_patch_analytics_2
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 2.0.17
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -20,17 +20,17 @@ function keymapPlugin(api) {
|
|
|
20
20
|
(0, _keymaps.bindKeymapWithCommand)(
|
|
21
21
|
// Ignored via go/ees005
|
|
22
22
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
23
|
-
(0, _keymaps.findKeyMapForBrowser)(_keymaps.redo), (0,
|
|
23
|
+
(0, _keymaps.findKeyMapForBrowser)(_keymaps.redo), (0, _commands.redoFromKeyboardWithAnalytics)(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions), list);
|
|
24
24
|
if ((0, _platformFeatureFlags.fg)('platform_editor_cmd_y_mac_redo_shortcut')) {
|
|
25
25
|
var _api$analytics2;
|
|
26
26
|
(0, _keymaps.bindKeymapWithCommand)(
|
|
27
27
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
28
|
-
(0, _keymaps.findKeyMapForBrowser)(_keymaps.redoAlt), (0,
|
|
28
|
+
(0, _keymaps.findKeyMapForBrowser)(_keymaps.redoAlt), (0, _commands.redoFromKeyboardWithAnalytics)(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions), list);
|
|
29
29
|
}
|
|
30
30
|
(0, _keymaps.bindKeymapWithCommand)(
|
|
31
31
|
// Ignored via go/ees005
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
33
|
-
_keymaps.undo.common, (0,
|
|
33
|
+
_keymaps.undo.common, (0, _commands.undoFromKeyboardWithAnalytics)(api === null || api === void 0 || (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 ? void 0 : _api$analytics3.actions), list);
|
|
34
34
|
return new _safePlugin.SafePlugin({
|
|
35
35
|
props: {
|
|
36
36
|
handleKeyDown: function handleKeyDown(view, event) {
|
|
@@ -49,20 +49,12 @@ var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
|
|
|
49
49
|
canUndo = _useSharedState.canUndo,
|
|
50
50
|
canRedo = _useSharedState.canRedo;
|
|
51
51
|
var handleUndo = function handleUndo() {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
(0, _utils.forceFocus)(editorView, api)((0, _commands.undoFromToolbarWithAnalytics)(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions));
|
|
55
|
-
} else {
|
|
56
|
-
(0, _utils.forceFocus)(editorView, api)(_commands.undoFromToolbar);
|
|
57
|
-
}
|
|
52
|
+
var _api$analytics;
|
|
53
|
+
(0, _utils.forceFocus)(editorView, api)((0, _commands.undoFromToolbarWithAnalytics)(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions));
|
|
58
54
|
};
|
|
59
55
|
var handleRedo = function handleRedo() {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
(0, _utils.forceFocus)(editorView, api)((0, _commands.redoFromToolbarWithAnalytics)(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions));
|
|
63
|
-
} else {
|
|
64
|
-
(0, _utils.forceFocus)(editorView, api)(_commands.redoFromToolbar);
|
|
65
|
-
}
|
|
56
|
+
var _api$analytics2;
|
|
57
|
+
(0, _utils.forceFocus)(editorView, api)((0, _commands.redoFromToolbarWithAnalytics)(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions));
|
|
66
58
|
};
|
|
67
59
|
var labelUndo = formatMessage(_messages.undoRedoMessages.undo);
|
|
68
60
|
var labelRedo = formatMessage(_messages.undoRedoMessages.redo);
|
|
@@ -9,7 +9,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
10
10
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
11
11
|
var _history = require("@atlaskit/editor-prosemirror/history");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
14
13
|
var _attachInputMeta = require("./pm-plugins/attach-input-meta");
|
|
15
14
|
var _enums = require("./pm-plugins/enums");
|
|
@@ -46,14 +45,14 @@ var undoRedoPlugin = exports.undoRedoPlugin = function undoRedoPlugin(_ref) {
|
|
|
46
45
|
if (!editorViewRef.current) {
|
|
47
46
|
return false;
|
|
48
47
|
}
|
|
49
|
-
return (0, _utils.forceFocus)(editorViewRef.current, api)((0,
|
|
48
|
+
return (0, _utils.forceFocus)(editorViewRef.current, api)((0, _attachInputMeta.attachInputMetaWithAnalytics)(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions)(inputSource || _enums.InputSource.EXTERNAL, _analytics.ACTION.UNDO_PERFORMED)(_history.undo));
|
|
50
49
|
};
|
|
51
50
|
var handleRedo = function handleRedo(inputSource) {
|
|
52
51
|
var _api$analytics2;
|
|
53
52
|
if (!editorViewRef.current) {
|
|
54
53
|
return false;
|
|
55
54
|
}
|
|
56
|
-
return (0, _utils.forceFocus)(editorViewRef.current, api)((0,
|
|
55
|
+
return (0, _utils.forceFocus)(editorViewRef.current, api)((0, _attachInputMeta.attachInputMetaWithAnalytics)(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions)(inputSource || _enums.InputSource.EXTERNAL, _analytics.ACTION.REDO_PERFORMED)(_history.redo));
|
|
57
56
|
};
|
|
58
57
|
return {
|
|
59
58
|
name: 'undoRedoPlugin',
|
|
@@ -2,7 +2,7 @@ import { bindKeymapWithCommand, findKeyMapForBrowser, isCapsLockOnAndModifyKeybo
|
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
3
|
import { keydownHandler } from '@atlaskit/editor-prosemirror/keymap';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import {
|
|
5
|
+
import { redoFromKeyboardWithAnalytics, undoFromKeyboardWithAnalytics } from './commands';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
@@ -15,17 +15,17 @@ export function keymapPlugin(api) {
|
|
|
15
15
|
bindKeymapWithCommand(
|
|
16
16
|
// Ignored via go/ees005
|
|
17
17
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
18
|
-
findKeyMapForBrowser(redo),
|
|
18
|
+
findKeyMapForBrowser(redo), redoFromKeyboardWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions), list);
|
|
19
19
|
if (fg('platform_editor_cmd_y_mac_redo_shortcut')) {
|
|
20
20
|
var _api$analytics2;
|
|
21
21
|
bindKeymapWithCommand(
|
|
22
22
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
23
|
-
findKeyMapForBrowser(redoAlt),
|
|
23
|
+
findKeyMapForBrowser(redoAlt), redoFromKeyboardWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions), list);
|
|
24
24
|
}
|
|
25
25
|
bindKeymapWithCommand(
|
|
26
26
|
// Ignored via go/ees005
|
|
27
27
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
28
|
-
undo.common,
|
|
28
|
+
undo.common, undoFromKeyboardWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 ? void 0 : _api$analytics3.actions), list);
|
|
29
29
|
return new SafePlugin({
|
|
30
30
|
props: {
|
|
31
31
|
handleKeyDown(view, event) {
|
|
@@ -14,7 +14,7 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
|
|
|
14
14
|
import RedoIcon from '@atlaskit/icon/core/migration/redo';
|
|
15
15
|
import UndoIcon from '@atlaskit/icon/core/migration/undo';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
|
-
import {
|
|
17
|
+
import { redoFromToolbarWithAnalytics, undoFromToolbarWithAnalytics } from '../../pm-plugins/commands';
|
|
18
18
|
import { forceFocus } from '../../pm-plugins/utils';
|
|
19
19
|
const useSharedState = sharedPluginStateHookMigratorFactory(api => {
|
|
20
20
|
const canUndo = useSharedPluginStateSelector(api, 'history.canUndo');
|
|
@@ -46,20 +46,12 @@ export const ToolbarUndoRedo = ({
|
|
|
46
46
|
canRedo
|
|
47
47
|
} = useSharedState(api);
|
|
48
48
|
const handleUndo = () => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
forceFocus(editorView, api)(undoFromToolbarWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions));
|
|
52
|
-
} else {
|
|
53
|
-
forceFocus(editorView, api)(undoFromToolbar);
|
|
54
|
-
}
|
|
49
|
+
var _api$analytics;
|
|
50
|
+
forceFocus(editorView, api)(undoFromToolbarWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions));
|
|
55
51
|
};
|
|
56
52
|
const handleRedo = () => {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
forceFocus(editorView, api)(redoFromToolbarWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions));
|
|
60
|
-
} else {
|
|
61
|
-
forceFocus(editorView, api)(redoFromToolbar);
|
|
62
|
-
}
|
|
53
|
+
var _api$analytics2;
|
|
54
|
+
forceFocus(editorView, api)(redoFromToolbarWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions));
|
|
63
55
|
};
|
|
64
56
|
const labelUndo = formatMessage(undoRedoMessages.undo);
|
|
65
57
|
const labelRedo = formatMessage(undoRedoMessages.redo);
|
|
@@ -2,9 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { ACTION } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import { redo, undo } from '@atlaskit/editor-prosemirror/history';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
7
|
-
import {
|
|
6
|
+
import { attachInputMetaWithAnalytics } from './pm-plugins/attach-input-meta';
|
|
8
7
|
import { InputSource } from './pm-plugins/enums';
|
|
9
8
|
import { keymapPlugin } from './pm-plugins/keymaps';
|
|
10
9
|
import { createPlugin } from './pm-plugins/main';
|
|
@@ -40,14 +39,14 @@ export const undoRedoPlugin = ({
|
|
|
40
39
|
if (!editorViewRef.current) {
|
|
41
40
|
return false;
|
|
42
41
|
}
|
|
43
|
-
return forceFocus(editorViewRef.current, api)(
|
|
42
|
+
return forceFocus(editorViewRef.current, api)(attachInputMetaWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions)(inputSource || InputSource.EXTERNAL, ACTION.UNDO_PERFORMED)(undo));
|
|
44
43
|
};
|
|
45
44
|
const handleRedo = inputSource => {
|
|
46
45
|
var _api$analytics2;
|
|
47
46
|
if (!editorViewRef.current) {
|
|
48
47
|
return false;
|
|
49
48
|
}
|
|
50
|
-
return forceFocus(editorViewRef.current, api)(
|
|
49
|
+
return forceFocus(editorViewRef.current, api)(attachInputMetaWithAnalytics(api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions)(inputSource || InputSource.EXTERNAL, ACTION.REDO_PERFORMED)(redo));
|
|
51
50
|
};
|
|
52
51
|
return {
|
|
53
52
|
name: 'undoRedoPlugin',
|
|
@@ -2,7 +2,7 @@ import { bindKeymapWithCommand, findKeyMapForBrowser, isCapsLockOnAndModifyKeybo
|
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
3
|
import { keydownHandler } from '@atlaskit/editor-prosemirror/keymap';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
-
import {
|
|
5
|
+
import { redoFromKeyboardWithAnalytics, undoFromKeyboardWithAnalytics } from './commands';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
@@ -15,17 +15,17 @@ export function keymapPlugin(api) {
|
|
|
15
15
|
bindKeymapWithCommand(
|
|
16
16
|
// Ignored via go/ees005
|
|
17
17
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
18
|
-
findKeyMapForBrowser(redo),
|
|
18
|
+
findKeyMapForBrowser(redo), redoFromKeyboardWithAnalytics(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions), list);
|
|
19
19
|
if (fg('platform_editor_cmd_y_mac_redo_shortcut')) {
|
|
20
20
|
var _api$analytics2;
|
|
21
21
|
bindKeymapWithCommand(
|
|
22
22
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
23
|
-
findKeyMapForBrowser(redoAlt),
|
|
23
|
+
findKeyMapForBrowser(redoAlt), redoFromKeyboardWithAnalytics(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions), list);
|
|
24
24
|
}
|
|
25
25
|
bindKeymapWithCommand(
|
|
26
26
|
// Ignored via go/ees005
|
|
27
27
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
28
|
-
undo.common,
|
|
28
|
+
undo.common, undoFromKeyboardWithAnalytics(api === null || api === void 0 || (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 ? void 0 : _api$analytics3.actions), list);
|
|
29
29
|
return new SafePlugin({
|
|
30
30
|
props: {
|
|
31
31
|
handleKeyDown: function handleKeyDown(view, event) {
|
|
@@ -14,7 +14,7 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
|
|
|
14
14
|
import RedoIcon from '@atlaskit/icon/core/migration/redo';
|
|
15
15
|
import UndoIcon from '@atlaskit/icon/core/migration/undo';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
|
-
import {
|
|
17
|
+
import { redoFromToolbarWithAnalytics, undoFromToolbarWithAnalytics } from '../../pm-plugins/commands';
|
|
18
18
|
import { forceFocus } from '../../pm-plugins/utils';
|
|
19
19
|
var useSharedState = sharedPluginStateHookMigratorFactory(function (api) {
|
|
20
20
|
var canUndo = useSharedPluginStateSelector(api, 'history.canUndo');
|
|
@@ -41,20 +41,12 @@ export var ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
|
|
|
41
41
|
canUndo = _useSharedState.canUndo,
|
|
42
42
|
canRedo = _useSharedState.canRedo;
|
|
43
43
|
var handleUndo = function handleUndo() {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
forceFocus(editorView, api)(undoFromToolbarWithAnalytics(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions));
|
|
47
|
-
} else {
|
|
48
|
-
forceFocus(editorView, api)(undoFromToolbar);
|
|
49
|
-
}
|
|
44
|
+
var _api$analytics;
|
|
45
|
+
forceFocus(editorView, api)(undoFromToolbarWithAnalytics(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions));
|
|
50
46
|
};
|
|
51
47
|
var handleRedo = function handleRedo() {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
forceFocus(editorView, api)(redoFromToolbarWithAnalytics(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions));
|
|
55
|
-
} else {
|
|
56
|
-
forceFocus(editorView, api)(redoFromToolbar);
|
|
57
|
-
}
|
|
48
|
+
var _api$analytics2;
|
|
49
|
+
forceFocus(editorView, api)(redoFromToolbarWithAnalytics(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions));
|
|
58
50
|
};
|
|
59
51
|
var labelUndo = formatMessage(undoRedoMessages.undo);
|
|
60
52
|
var labelRedo = formatMessage(undoRedoMessages.redo);
|
|
@@ -2,9 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { ACTION } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
4
|
import { redo, undo } from '@atlaskit/editor-prosemirror/history';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
7
|
-
import {
|
|
6
|
+
import { attachInputMetaWithAnalytics } from './pm-plugins/attach-input-meta';
|
|
8
7
|
import { InputSource } from './pm-plugins/enums';
|
|
9
8
|
import { keymapPlugin } from './pm-plugins/keymaps';
|
|
10
9
|
import { createPlugin } from './pm-plugins/main';
|
|
@@ -38,14 +37,14 @@ export var undoRedoPlugin = function undoRedoPlugin(_ref) {
|
|
|
38
37
|
if (!editorViewRef.current) {
|
|
39
38
|
return false;
|
|
40
39
|
}
|
|
41
|
-
return forceFocus(editorViewRef.current, api)(
|
|
40
|
+
return forceFocus(editorViewRef.current, api)(attachInputMetaWithAnalytics(api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions)(inputSource || InputSource.EXTERNAL, ACTION.UNDO_PERFORMED)(undo));
|
|
42
41
|
};
|
|
43
42
|
var handleRedo = function handleRedo(inputSource) {
|
|
44
43
|
var _api$analytics2;
|
|
45
44
|
if (!editorViewRef.current) {
|
|
46
45
|
return false;
|
|
47
46
|
}
|
|
48
|
-
return forceFocus(editorViewRef.current, api)(
|
|
47
|
+
return forceFocus(editorViewRef.current, api)(attachInputMetaWithAnalytics(api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions)(inputSource || InputSource.EXTERNAL, ACTION.REDO_PERFORMED)(redo));
|
|
49
48
|
};
|
|
50
49
|
return {
|
|
51
50
|
name: 'undoRedoPlugin',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-undo-redo",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"description": "Undo redo plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^106.
|
|
36
|
+
"@atlaskit/editor-common": "^106.5.0",
|
|
37
37
|
"@atlaskit/editor-plugin-history": "^2.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
|
|
39
39
|
"@atlaskit/editor-plugin-type-ahead": "^2.7.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/icon": "^26.4.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^6.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1"
|
|
46
46
|
},
|
|
@@ -95,9 +95,6 @@
|
|
|
95
95
|
"platform-feature-flags": {
|
|
96
96
|
"platform_editor_cmd_y_mac_redo_shortcut": {
|
|
97
97
|
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"platform_editor_controls_patch_analytics": {
|
|
100
|
-
"type": "boolean"
|
|
101
98
|
}
|
|
102
99
|
}
|
|
103
100
|
}
|