@atlaskit/editor-plugin-block-controls 3.13.0 → 3.13.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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 3.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#148485](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148485)
|
|
8
|
+
[`a3ec09f649d4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3ec09f649d4a) -
|
|
9
|
+
[EDITOR-323] Clean up feature gate `platform_editor_disable_drag_handle_nested_tables`
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.13.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -35,7 +35,7 @@ var shouldIgnoreNode = function shouldIgnoreNode(node, ignore_nodes, depth, pare
|
|
|
35
35
|
var isTable = node.type.name === (nodeTypes === null || nodeTypes === void 0 || (_nodeTypes$table = nodeTypes.table) === null || _nodeTypes$table === void 0 ? void 0 : _nodeTypes$table.name);
|
|
36
36
|
var parentIsTable = parent && [nodeTypes.tableHeader, nodeTypes.tableCell].includes(parent.type);
|
|
37
37
|
var isNestedTable = isTable && parentIsTable;
|
|
38
|
-
if (isNestedTable
|
|
38
|
+
if (isNestedTable) {
|
|
39
39
|
return true;
|
|
40
40
|
}
|
|
41
41
|
var isFirstTableRow = (parent === null || parent === void 0 ? void 0 : parent.type.name) === 'table' && depth === 1 && node === parent.firstChild && 'tableRow' === node.type.name && (0, _experiments.editorExperiment)('advanced_layouts', true);
|
|
@@ -27,7 +27,7 @@ const shouldIgnoreNode = (node, ignore_nodes, depth, parent) => {
|
|
|
27
27
|
const isTable = node.type.name === (nodeTypes === null || nodeTypes === void 0 ? void 0 : (_nodeTypes$table = nodeTypes.table) === null || _nodeTypes$table === void 0 ? void 0 : _nodeTypes$table.name);
|
|
28
28
|
const parentIsTable = parent && [nodeTypes.tableHeader, nodeTypes.tableCell].includes(parent.type);
|
|
29
29
|
const isNestedTable = isTable && parentIsTable;
|
|
30
|
-
if (isNestedTable
|
|
30
|
+
if (isNestedTable) {
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
33
|
const isFirstTableRow = (parent === null || parent === void 0 ? void 0 : parent.type.name) === 'table' && depth === 1 && node === parent.firstChild && 'tableRow' === node.type.name && editorExperiment('advanced_layouts', true);
|
|
@@ -28,7 +28,7 @@ var shouldIgnoreNode = function shouldIgnoreNode(node, ignore_nodes, depth, pare
|
|
|
28
28
|
var isTable = node.type.name === (nodeTypes === null || nodeTypes === void 0 || (_nodeTypes$table = nodeTypes.table) === null || _nodeTypes$table === void 0 ? void 0 : _nodeTypes$table.name);
|
|
29
29
|
var parentIsTable = parent && [nodeTypes.tableHeader, nodeTypes.tableCell].includes(parent.type);
|
|
30
30
|
var isNestedTable = isTable && parentIsTable;
|
|
31
|
-
if (isNestedTable
|
|
31
|
+
if (isNestedTable) {
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
34
|
var isFirstTableRow = (parent === null || parent === void 0 ? void 0 : parent.type.name) === 'table' && depth === 1 && node === parent.firstChild && 'tableRow' === node.type.name && editorExperiment('advanced_layouts', true);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.1",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
36
|
-
"@atlaskit/editor-common": "^103.
|
|
36
|
+
"@atlaskit/editor-common": "^103.22.0",
|
|
37
37
|
"@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@atlaskit/editor-plugin-interaction": "^1.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-metrics": "^3.4.0",
|
|
43
43
|
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
|
44
|
-
"@atlaskit/editor-plugin-selection": "^2.
|
|
45
|
-
"@atlaskit/editor-plugin-type-ahead": "^2.
|
|
44
|
+
"@atlaskit/editor-plugin-selection": "^2.2.0",
|
|
45
|
+
"@atlaskit/editor-plugin-type-ahead": "^2.6.0",
|
|
46
46
|
"@atlaskit/editor-plugin-user-intent": "^0.1.0",
|
|
47
47
|
"@atlaskit/editor-plugin-width": "^3.0.0",
|
|
48
48
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop": "^1.6.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
55
55
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.1.0",
|
|
56
|
-
"@atlaskit/primitives": "^14.
|
|
56
|
+
"@atlaskit/primitives": "^14.6.0",
|
|
57
57
|
"@atlaskit/theme": "^18.0.0",
|
|
58
58
|
"@atlaskit/tmp-editor-statsig": "^4.15.0",
|
|
59
59
|
"@atlaskit/tokens": "^4.8.0",
|
|
@@ -127,9 +127,6 @@
|
|
|
127
127
|
"platform_editor_track_node_types": {
|
|
128
128
|
"type": "boolean"
|
|
129
129
|
},
|
|
130
|
-
"platform_editor_disable_drag_handle_nested_tables": {
|
|
131
|
-
"type": "boolean"
|
|
132
|
-
},
|
|
133
130
|
"platform_editor_elements_dnd_shift_click_select": {
|
|
134
131
|
"type": "boolean"
|
|
135
132
|
},
|