@atlaskit/editor-plugin-block-controls 8.4.2 → 8.4.4
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 +14 -0
- package/dist/cjs/pm-plugins/utils/validation.js +1 -3
- package/dist/es2019/pm-plugins/utils/validation.js +1 -3
- package/dist/esm/pm-plugins/utils/validation.js +1 -3
- package/dist/types/ui/utils/anchor-name.d.ts +1 -1
- package/dist/types-ts4.5/ui/utils/anchor-name.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 8.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.4.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`a040c03082274`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a040c03082274) -
|
|
14
|
+
[ux] EDITOR-507 Clean up main nested tables experiment `platform_editor_nested_tables`
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 8.4.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -112,9 +112,7 @@ function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNodePos,
|
|
|
112
112
|
var destParentNodeType = destParent === null || destParent === void 0 ? void 0 : destParent.type;
|
|
113
113
|
var activeNodeType = srcNode === null || srcNode === void 0 ? void 0 : srcNode.type;
|
|
114
114
|
var layoutColumnContent = srcNode.content;
|
|
115
|
-
var isNestingTablesSupported = (0, _nesting.isNestedTablesSupported)(schema)
|
|
116
|
-
exposure: true
|
|
117
|
-
});
|
|
115
|
+
var isNestingTablesSupported = (0, _nesting.isNestedTablesSupported)(schema);
|
|
118
116
|
if (activeNodeType === layoutColumn && (0, _experiments.editorExperiment)('advanced_layouts', true)) {
|
|
119
117
|
// Allow drag layout column and drop into layout section
|
|
120
118
|
if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
|
|
@@ -103,9 +103,7 @@ export function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNo
|
|
|
103
103
|
const destParentNodeType = destParent === null || destParent === void 0 ? void 0 : destParent.type;
|
|
104
104
|
const activeNodeType = srcNode === null || srcNode === void 0 ? void 0 : srcNode.type;
|
|
105
105
|
const layoutColumnContent = srcNode.content;
|
|
106
|
-
const isNestingTablesSupported = isNestedTablesSupported(schema)
|
|
107
|
-
exposure: true
|
|
108
|
-
});
|
|
106
|
+
const isNestingTablesSupported = isNestedTablesSupported(schema);
|
|
109
107
|
if (activeNodeType === layoutColumn && editorExperiment('advanced_layouts', true)) {
|
|
110
108
|
// Allow drag layout column and drop into layout section
|
|
111
109
|
if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
|
|
@@ -102,9 +102,7 @@ export function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNo
|
|
|
102
102
|
var destParentNodeType = destParent === null || destParent === void 0 ? void 0 : destParent.type;
|
|
103
103
|
var activeNodeType = srcNode === null || srcNode === void 0 ? void 0 : srcNode.type;
|
|
104
104
|
var layoutColumnContent = srcNode.content;
|
|
105
|
-
var isNestingTablesSupported = isNestedTablesSupported(schema)
|
|
106
|
-
exposure: true
|
|
107
|
-
});
|
|
105
|
+
var isNestingTablesSupported = isNestedTablesSupported(schema);
|
|
108
106
|
if (activeNodeType === layoutColumn && editorExperiment('advanced_layouts', true)) {
|
|
109
107
|
// Allow drag layout column and drop into layout section
|
|
110
108
|
if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
|
|
@@ -8,5 +8,5 @@ type RefreshAnchorNameParams = {
|
|
|
8
8
|
* Checks for plugin state for latest anchorName based on the position, returns
|
|
9
9
|
* provided anchorName if available
|
|
10
10
|
*/
|
|
11
|
-
export declare const refreshAnchorName: ({ getPos, view, anchorName }: RefreshAnchorNameParams) => string;
|
|
11
|
+
export declare const refreshAnchorName: ({ getPos, view, anchorName, }: RefreshAnchorNameParams) => string;
|
|
12
12
|
export {};
|
|
@@ -8,5 +8,5 @@ type RefreshAnchorNameParams = {
|
|
|
8
8
|
* Checks for plugin state for latest anchorName based on the position, returns
|
|
9
9
|
* provided anchorName if available
|
|
10
10
|
*/
|
|
11
|
-
export declare const refreshAnchorName: ({ getPos, view, anchorName }: RefreshAnchorNameParams) => string;
|
|
11
|
+
export declare const refreshAnchorName: ({ getPos, view, anchorName, }: RefreshAnchorNameParams) => string;
|
|
12
12
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.4",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
55
55
|
"@atlaskit/primitives": "^18.0.0",
|
|
56
56
|
"@atlaskit/theme": "^21.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^29.0.0",
|
|
58
58
|
"@atlaskit/tokens": "^11.0.0",
|
|
59
59
|
"@atlaskit/tooltip": "^20.14.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|