@atlaskit/editor-plugin-block-type 10.0.0 → 10.1.1
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
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 10.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`0ac75e0d28c72`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ac75e0d28c72) -
|
|
14
|
+
Migrate @atlaskit/editor-prosemirror/history to @atlaskit/prosemirror-history package
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 10.0.0
|
|
4
21
|
|
|
5
22
|
### Major Changes
|
|
@@ -9,7 +9,7 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
9
9
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
10
10
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
11
11
|
var _commands = require("@atlaskit/editor-prosemirror/commands");
|
|
12
|
-
var
|
|
12
|
+
var _prosemirrorHistory = require("@atlaskit/prosemirror-history");
|
|
13
13
|
var blockTypes = _interopRequireWildcard(require("./block-types"));
|
|
14
14
|
var _blockType = require("./commands/block-type");
|
|
15
15
|
var _deleteAndMoveCursor = require("./commands/delete-and-move-cursor");
|
|
@@ -35,11 +35,11 @@ function keymapPlugin(editorAnalyticsApi, schema, _featureFlags) {
|
|
|
35
35
|
(0, _keymaps.bindKeymapWithCommand)(_keymaps.moveDown.common, _utils.createNewParagraphBelow, list);
|
|
36
36
|
// Ignored via go/ees005
|
|
37
37
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
38
|
-
(0, _keymaps.bindKeymapWithCommand)((0, _keymaps.findKeyMapForBrowser)(_keymaps.redo),
|
|
38
|
+
(0, _keymaps.bindKeymapWithCommand)((0, _keymaps.findKeyMapForBrowser)(_keymaps.redo), _prosemirrorHistory.redo, list);
|
|
39
39
|
|
|
40
40
|
// Ignored via go/ees005
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
42
|
-
(0, _keymaps.bindKeymapWithCommand)(_keymaps.undo.common,
|
|
42
|
+
(0, _keymaps.bindKeymapWithCommand)(_keymaps.undo.common, _prosemirrorHistory.undo, list);
|
|
43
43
|
|
|
44
44
|
// Ignored via go/ees005
|
|
45
45
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -2,7 +2,8 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
2
2
|
import { backspace, bindKeymapWithCommand, deleteKey, findKeyMapForBrowser, findShortcutByKeymap, forwardDelete, insertNewLine, keymap, moveDown, moveUp, redo as redoKeymap, toggleBlockQuote, undo as undoKeymap } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { createNewParagraphAbove, createNewParagraphBelow, deleteEmptyParagraphAndMoveBlockUp, insertNewLineWithAnalytics } from '@atlaskit/editor-common/utils';
|
|
4
4
|
import { chainCommands } from '@atlaskit/editor-prosemirror/commands';
|
|
5
|
-
import { redo, undo } from '@atlaskit/
|
|
5
|
+
import { redo, undo } from '@atlaskit/prosemirror-history';
|
|
6
|
+
|
|
6
7
|
// Ignored via go/ees005
|
|
7
8
|
// eslint-disable-next-line import/no-namespace
|
|
8
9
|
import * as blockTypes from './block-types';
|
|
@@ -2,7 +2,8 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
2
2
|
import { backspace, bindKeymapWithCommand, deleteKey, findKeyMapForBrowser, findShortcutByKeymap, forwardDelete, insertNewLine, keymap, moveDown, moveUp, redo as redoKeymap, toggleBlockQuote, undo as undoKeymap } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { createNewParagraphAbove, createNewParagraphBelow, deleteEmptyParagraphAndMoveBlockUp, insertNewLineWithAnalytics } from '@atlaskit/editor-common/utils';
|
|
4
4
|
import { chainCommands } from '@atlaskit/editor-prosemirror/commands';
|
|
5
|
-
import { redo, undo } from '@atlaskit/
|
|
5
|
+
import { redo, undo } from '@atlaskit/prosemirror-history';
|
|
6
|
+
|
|
6
7
|
// Ignored via go/ees005
|
|
7
8
|
// eslint-disable-next-line import/no-namespace
|
|
8
9
|
import * as blockTypes from './block-types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.1",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,30 +33,31 @@
|
|
|
33
33
|
"@atlaskit/css": "^0.14.0",
|
|
34
34
|
"@atlaskit/editor-plugin-analytics": "^6.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-block-menu": "^4.0.0",
|
|
36
|
-
"@atlaskit/editor-plugin-list": "^8.
|
|
36
|
+
"@atlaskit/editor-plugin-list": "^8.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
40
|
+
"@atlaskit/editor-plugin-toolbar": "^3.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
44
|
+
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
46
46
|
"@atlaskit/icon": "^28.5.0",
|
|
47
47
|
"@atlaskit/icon-lab": "^5.10.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
50
50
|
"@atlaskit/primitives": "^14.15.0",
|
|
51
|
-
"@atlaskit/prosemirror-
|
|
51
|
+
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
52
|
+
"@atlaskit/prosemirror-input-rules": "^3.5.0",
|
|
52
53
|
"@atlaskit/theme": "^21.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^13.8.0",
|
|
54
55
|
"@atlaskit/tokens": "^6.4.0",
|
|
55
56
|
"@babel/runtime": "^7.0.0",
|
|
56
57
|
"@emotion/react": "^11.7.1"
|
|
57
58
|
},
|
|
58
59
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^110.
|
|
60
|
+
"@atlaskit/editor-common": "^110.10.0",
|
|
60
61
|
"react": "^18.2.0",
|
|
61
62
|
"react-dom": "^18.2.0",
|
|
62
63
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"@af/visual-regression": "workspace:^",
|
|
66
67
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
67
68
|
"@atlaskit/editor-plugin-quick-insert": "^6.0.0",
|
|
68
|
-
"@atlaskit/editor-plugin-type-ahead": "^6.
|
|
69
|
+
"@atlaskit/editor-plugin-type-ahead": "^6.4.0",
|
|
69
70
|
"@atlaskit/ssr": "workspace:^",
|
|
70
71
|
"@testing-library/react": "^13.4.0",
|
|
71
72
|
"@testing-library/user-event": "^14.4.3",
|