@atlaskit/editor-plugin-insert-block 5.0.4 → 5.0.5
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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 5.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c0113eeccb2df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c0113eeccb2df) -
|
|
8
|
+
[ux] ED-29120 add a new config option for default editor preset
|
|
9
|
+
(`toolbar.enableNewToolbarExperience`) which allows the new toolbar to be disabled. This is needed
|
|
10
|
+
for editors that can't be excluded at the experiment level.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 5.0.4
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -161,7 +161,7 @@ var insertBlockPlugin = exports.insertBlockPlugin = function insertBlockPlugin(_
|
|
|
161
161
|
renderNode: renderNode
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
|
-
if ((0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true, {
|
|
164
|
+
if (Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true, {
|
|
165
165
|
exposure: true
|
|
166
166
|
})) {
|
|
167
167
|
var _api$toolbar, _api$codeBlock, _api$panel, _api$blockType;
|
|
@@ -146,7 +146,7 @@ export const insertBlockPlugin = ({
|
|
|
146
146
|
renderNode: renderNode
|
|
147
147
|
});
|
|
148
148
|
};
|
|
149
|
-
if (editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
149
|
+
if (Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
150
150
|
exposure: true
|
|
151
151
|
})) {
|
|
152
152
|
var _api$toolbar, _api$codeBlock, _api$panel, _api$blockType;
|
|
@@ -151,7 +151,7 @@ export var insertBlockPlugin = function insertBlockPlugin(_ref) {
|
|
|
151
151
|
renderNode: renderNode
|
|
152
152
|
});
|
|
153
153
|
};
|
|
154
|
-
if (editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
154
|
+
if (Boolean(api === null || api === void 0 ? void 0 : api.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true, {
|
|
155
155
|
exposure: true
|
|
156
156
|
})) {
|
|
157
157
|
var _api$toolbar, _api$codeBlock, _api$panel, _api$blockType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/button": "^23.4.0",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^4.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-block-type": "^7.1.0",
|
|
35
|
-
"@atlaskit/editor-plugin-code-block": "^6.
|
|
35
|
+
"@atlaskit/editor-plugin-code-block": "^6.1.0",
|
|
36
36
|
"@atlaskit/editor-plugin-connectivity": "^4.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-date": "^6.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-emoji": "^5.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/editor-plugin-hyperlink": "^6.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-image-upload": "^4.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-layout": "^4.0.0",
|
|
45
|
-
"@atlaskit/editor-plugin-media": "^6.
|
|
45
|
+
"@atlaskit/editor-plugin-media": "^6.2.0",
|
|
46
46
|
"@atlaskit/editor-plugin-media-insert": "^10.0.0",
|
|
47
47
|
"@atlaskit/editor-plugin-mentions": "^6.0.0",
|
|
48
48
|
"@atlaskit/editor-plugin-metrics": "^5.0.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^4.0.0",
|
|
53
53
|
"@atlaskit/editor-plugin-rule": "^4.0.0",
|
|
54
54
|
"@atlaskit/editor-plugin-status": "^5.0.0",
|
|
55
|
-
"@atlaskit/editor-plugin-table": "^13.
|
|
55
|
+
"@atlaskit/editor-plugin-table": "^13.1.0",
|
|
56
56
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^7.0.0",
|
|
57
|
-
"@atlaskit/editor-plugin-toolbar": "^1.
|
|
57
|
+
"@atlaskit/editor-plugin-toolbar": "^1.2.0",
|
|
58
58
|
"@atlaskit/editor-plugin-type-ahead": "^4.0.0",
|
|
59
59
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
60
60
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"@atlaskit/icon": "^28.1.0",
|
|
66
66
|
"@atlaskit/icon-lab": "^5.7.0",
|
|
67
67
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
68
|
-
"@atlaskit/primitives": "^14.
|
|
68
|
+
"@atlaskit/primitives": "^14.14.0",
|
|
69
69
|
"@atlaskit/theme": "^20.0.0",
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
71
|
-
"@atlaskit/tokens": "^6.
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^12.8.0",
|
|
71
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
72
72
|
"@atlaskit/tooltip": "^20.4.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@emotion/react": "^11.7.1",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"react-virtualized": "^9.8.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@atlaskit/editor-common": "^108.
|
|
81
|
+
"@atlaskit/editor-common": "^108.6.0",
|
|
82
82
|
"react": "^18.2.0",
|
|
83
83
|
"react-dom": "^18.2.0",
|
|
84
84
|
"react-intl-next": "npm:react-intl@^5.18.1"
|