@atlaskit/editor-plugin-block-controls 7.2.8 → 7.2.10
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 +16 -2
- package/dist/cjs/editor-commands/move-node.js +1 -1
- package/dist/cjs/pm-plugins/utils/validation.js +17 -19
- package/dist/cjs/ui/global-styles.js +6 -9
- package/dist/es2019/editor-commands/move-node.js +1 -1
- package/dist/es2019/pm-plugins/utils/validation.js +17 -19
- package/dist/es2019/ui/global-styles.js +8 -8
- package/dist/esm/editor-commands/move-node.js +1 -1
- package/dist/esm/pm-plugins/utils/validation.js +17 -19
- package/dist/esm/ui/global-styles.js +6 -9
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 7.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2470543de66c4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2470543de66c4) -
|
|
8
|
+
[ux] ED-29341 fix block quote drag handle is hard to trigger behind with
|
|
9
|
+
platform_editor_native_anchor_support on
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 7.2.9
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [`3a41420ddfc6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a41420ddfc6e) -
|
|
17
|
+
Clean up platform_editor_drag_layout_column_into_nodes
|
|
18
|
+
|
|
3
19
|
## 7.2.8
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -545,7 +561,6 @@
|
|
|
545
561
|
shared context or singletons.
|
|
546
562
|
|
|
547
563
|
**HOW TO ADJUST:**
|
|
548
|
-
|
|
549
564
|
- Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
|
|
550
565
|
any of these editor plugins.
|
|
551
566
|
- Ensure the version you install matches the version required by the plugins.
|
|
@@ -2239,7 +2254,6 @@
|
|
|
2239
2254
|
- [#171014](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171014)
|
|
2240
2255
|
[`6163248356c63`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6163248356c63) -
|
|
2241
2256
|
[ED-25833] Replace the following FGs with experiment `platform_editor_advanced_layouts`
|
|
2242
|
-
|
|
2243
2257
|
- platform_editor_advanced_layouts_breakout_resizing
|
|
2244
2258
|
- platform_editor_advanced_layouts_pre_release_1
|
|
2245
2259
|
- platform_editor_advanced_layouts_pre_release_2
|
|
@@ -91,7 +91,7 @@ var isDragLayoutColumnIntoSupportedNodes = function isDragLayoutColumnIntoSuppor
|
|
|
91
91
|
var _$from$nodeAfter;
|
|
92
92
|
var isTopLevel = $to.depth === 0;
|
|
93
93
|
var isDragIntoNodes = nodesSupportDragLayoutColumnInto.includes($to.parent.type.name);
|
|
94
|
-
var supportedCondition =
|
|
94
|
+
var supportedCondition = isDragIntoNodes || isTopLevel;
|
|
95
95
|
return ((_$from$nodeAfter = $from.nodeAfter) === null || _$from$nodeAfter === void 0 ? void 0 : _$from$nodeAfter.type.name) === 'layoutColumn' && $from.parent.type.name === 'layoutSection' && supportedCondition;
|
|
96
96
|
};
|
|
97
97
|
|
|
@@ -121,26 +121,24 @@ function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNodePos,
|
|
|
121
121
|
if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
|
|
122
122
|
return true;
|
|
123
123
|
}
|
|
124
|
-
if (
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
return false;
|
|
132
|
-
}
|
|
133
|
-
return canCreateNodeWithContentInsideAnotherNode([tableCell, tableHeader], convertedFragment);
|
|
134
|
-
}
|
|
135
|
-
if (destParentNodeType === panel) {
|
|
136
|
-
return canCreateNodeWithContentInsideAnotherNode([panel], layoutColumnContent);
|
|
137
|
-
}
|
|
138
|
-
if (destParentNodeType === expand) {
|
|
139
|
-
return canCreateNodeWithContentInsideAnotherNode([expand], layoutColumnContent);
|
|
140
|
-
}
|
|
141
|
-
if (destParentNodeType === nestedExpand) {
|
|
142
|
-
return canCreateNodeWithContentInsideAnotherNode([nestedExpand], layoutColumnContent);
|
|
124
|
+
if (destParentNodeType === tableCell || destParentNodeType === tableHeader) {
|
|
125
|
+
var contentContainsExpand = (0, _utils.findChildrenByType)(srcNode, expand).length > 0;
|
|
126
|
+
//convert expand to nestedExpand if there are expands inside the layout column
|
|
127
|
+
// otherwise, the createChecked will fail as expand is not a valid child of tableCell/tableHeader, but nestedExpand is
|
|
128
|
+
var convertedFragment = contentContainsExpand ? transformFragmentExpandToNestedExpand(layoutColumnContent) : layoutColumnContent;
|
|
129
|
+
if (!convertedFragment) {
|
|
130
|
+
return false;
|
|
143
131
|
}
|
|
132
|
+
return canCreateNodeWithContentInsideAnotherNode([tableCell, tableHeader], convertedFragment);
|
|
133
|
+
}
|
|
134
|
+
if (destParentNodeType === panel) {
|
|
135
|
+
return canCreateNodeWithContentInsideAnotherNode([panel], layoutColumnContent);
|
|
136
|
+
}
|
|
137
|
+
if (destParentNodeType === expand) {
|
|
138
|
+
return canCreateNodeWithContentInsideAnotherNode([expand], layoutColumnContent);
|
|
139
|
+
}
|
|
140
|
+
if (destParentNodeType === nestedExpand) {
|
|
141
|
+
return canCreateNodeWithContentInsideAnotherNode([nestedExpand], layoutColumnContent);
|
|
144
142
|
}
|
|
145
143
|
}
|
|
146
144
|
|
|
@@ -129,7 +129,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
|
|
|
129
129
|
height: '100%',
|
|
130
130
|
cursor: 'default',
|
|
131
131
|
zIndex: 1
|
|
132
|
-
}),
|
|
132
|
+
}), "&&& ".concat(dragHandlerAnchorSelectorNext, "[data-layout-column]::after"), {
|
|
133
133
|
content: '""',
|
|
134
134
|
position: 'absolute',
|
|
135
135
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -144,7 +144,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
|
|
|
144
144
|
zIndex: 1
|
|
145
145
|
})), 'hr[data-drag-handler-anchor-name]', {
|
|
146
146
|
overflow: 'visible'
|
|
147
|
-
}),
|
|
147
|
+
}), "[data-blocks-drag-handle-container=\"true\"] + ".concat(dragHandlerAnchorSelectorNext, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
|
|
148
148
|
display: 'none'
|
|
149
149
|
}));
|
|
150
150
|
};
|
|
@@ -175,7 +175,7 @@ var extendedDragZone = (0, _react.css)({
|
|
|
175
175
|
});
|
|
176
176
|
var extendedDragZoneNext = (0, _react.css)({
|
|
177
177
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
178
|
-
'.ProseMirror': (0, _defineProperty2.default)({}, "&&
|
|
178
|
+
'.ProseMirror': (0, _defineProperty2.default)({}, "&& ".concat(dragHandlerAnchorSelectorNext, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
|
|
179
179
|
width: 'var(--ak-editor-max-container-width)',
|
|
180
180
|
left: "calc((100% - var(--ak-editor-max-container-width))/2)"
|
|
181
181
|
})
|
|
@@ -376,12 +376,9 @@ var withAnchorNameZindexStyle = (0, _react.css)({
|
|
|
376
376
|
});
|
|
377
377
|
var withAnchorNameZindexStyleNext = (0, _react.css)({
|
|
378
378
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
379
|
-
'.ProseMirror': {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
zIndex: 1
|
|
383
|
-
}
|
|
384
|
-
}
|
|
379
|
+
'.ProseMirror': (0, _defineProperty2.default)({}, "&& [".concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "]:not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])"), {
|
|
380
|
+
zIndex: 1
|
|
381
|
+
})
|
|
385
382
|
});
|
|
386
383
|
|
|
387
384
|
// This style is used to define width for block card (with datasource) that does not have layout
|
|
@@ -84,7 +84,7 @@ const isDragLayoutColumnIntoSupportedNodes = ($from, $to) => {
|
|
|
84
84
|
var _$from$nodeAfter;
|
|
85
85
|
const isTopLevel = $to.depth === 0;
|
|
86
86
|
const isDragIntoNodes = nodesSupportDragLayoutColumnInto.includes($to.parent.type.name);
|
|
87
|
-
const supportedCondition =
|
|
87
|
+
const supportedCondition = isDragIntoNodes || isTopLevel;
|
|
88
88
|
return ((_$from$nodeAfter = $from.nodeAfter) === null || _$from$nodeAfter === void 0 ? void 0 : _$from$nodeAfter.type.name) === 'layoutColumn' && $from.parent.type.name === 'layoutSection' && supportedCondition;
|
|
89
89
|
};
|
|
90
90
|
|
|
@@ -112,26 +112,24 @@ export function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNo
|
|
|
112
112
|
if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
|
|
113
113
|
return true;
|
|
114
114
|
}
|
|
115
|
-
if (
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
return false;
|
|
123
|
-
}
|
|
124
|
-
return canCreateNodeWithContentInsideAnotherNode([tableCell, tableHeader], convertedFragment);
|
|
125
|
-
}
|
|
126
|
-
if (destParentNodeType === panel) {
|
|
127
|
-
return canCreateNodeWithContentInsideAnotherNode([panel], layoutColumnContent);
|
|
128
|
-
}
|
|
129
|
-
if (destParentNodeType === expand) {
|
|
130
|
-
return canCreateNodeWithContentInsideAnotherNode([expand], layoutColumnContent);
|
|
131
|
-
}
|
|
132
|
-
if (destParentNodeType === nestedExpand) {
|
|
133
|
-
return canCreateNodeWithContentInsideAnotherNode([nestedExpand], layoutColumnContent);
|
|
115
|
+
if (destParentNodeType === tableCell || destParentNodeType === tableHeader) {
|
|
116
|
+
const contentContainsExpand = findChildrenByType(srcNode, expand).length > 0;
|
|
117
|
+
//convert expand to nestedExpand if there are expands inside the layout column
|
|
118
|
+
// otherwise, the createChecked will fail as expand is not a valid child of tableCell/tableHeader, but nestedExpand is
|
|
119
|
+
const convertedFragment = contentContainsExpand ? transformFragmentExpandToNestedExpand(layoutColumnContent) : layoutColumnContent;
|
|
120
|
+
if (!convertedFragment) {
|
|
121
|
+
return false;
|
|
134
122
|
}
|
|
123
|
+
return canCreateNodeWithContentInsideAnotherNode([tableCell, tableHeader], convertedFragment);
|
|
124
|
+
}
|
|
125
|
+
if (destParentNodeType === panel) {
|
|
126
|
+
return canCreateNodeWithContentInsideAnotherNode([panel], layoutColumnContent);
|
|
127
|
+
}
|
|
128
|
+
if (destParentNodeType === expand) {
|
|
129
|
+
return canCreateNodeWithContentInsideAnotherNode([expand], layoutColumnContent);
|
|
130
|
+
}
|
|
131
|
+
if (destParentNodeType === nestedExpand) {
|
|
132
|
+
return canCreateNodeWithContentInsideAnotherNode([nestedExpand], layoutColumnContent);
|
|
135
133
|
}
|
|
136
134
|
}
|
|
137
135
|
|
|
@@ -149,8 +149,8 @@ const extendedHoverZoneNext = () => css({
|
|
|
149
149
|
zIndex: 1
|
|
150
150
|
},
|
|
151
151
|
// hover zone for layout column should be placed near the top of the column (where drag handle is)
|
|
152
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
153
|
-
|
|
152
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
153
|
+
[`&&& ${dragHandlerAnchorSelectorNext}[data-layout-column]::after`]: {
|
|
154
154
|
content: '""',
|
|
155
155
|
position: 'absolute',
|
|
156
156
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -171,8 +171,8 @@ const extendedHoverZoneNext = () => css({
|
|
|
171
171
|
overflow: 'visible'
|
|
172
172
|
},
|
|
173
173
|
//Hide pseudo element at top depth level. Leave for nested depths to prevent mouseover loop.
|
|
174
|
-
//eslint-disable-next-line @atlaskit/ui-styling-standard/no-
|
|
175
|
-
|
|
174
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
175
|
+
[`[data-blocks-drag-handle-container="true"] + ${dragHandlerAnchorSelectorNext}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
|
|
176
176
|
display: 'none'
|
|
177
177
|
}
|
|
178
178
|
});
|
|
@@ -219,8 +219,8 @@ const extendedDragZone = css({
|
|
|
219
219
|
const extendedDragZoneNext = css({
|
|
220
220
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
221
221
|
'.ProseMirror': {
|
|
222
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
223
|
-
[`&&
|
|
222
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
223
|
+
[`&& ${dragHandlerAnchorSelectorNext}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
|
|
224
224
|
width: 'var(--ak-editor-max-container-width)',
|
|
225
225
|
left: `calc((100% - var(--ak-editor-max-container-width))/2)`
|
|
226
226
|
}
|
|
@@ -447,8 +447,8 @@ const withAnchorNameZindexStyle = css({
|
|
|
447
447
|
const withAnchorNameZindexStyleNext = css({
|
|
448
448
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
449
449
|
'.ProseMirror': {
|
|
450
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
451
|
-
|
|
450
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
451
|
+
[`&& [${NODE_ANCHOR_ATTR_NAME}]:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])`]: {
|
|
452
452
|
zIndex: 1
|
|
453
453
|
}
|
|
454
454
|
}
|
|
@@ -85,7 +85,7 @@ var isDragLayoutColumnIntoSupportedNodes = function isDragLayoutColumnIntoSuppor
|
|
|
85
85
|
var _$from$nodeAfter;
|
|
86
86
|
var isTopLevel = $to.depth === 0;
|
|
87
87
|
var isDragIntoNodes = nodesSupportDragLayoutColumnInto.includes($to.parent.type.name);
|
|
88
|
-
var supportedCondition =
|
|
88
|
+
var supportedCondition = isDragIntoNodes || isTopLevel;
|
|
89
89
|
return ((_$from$nodeAfter = $from.nodeAfter) === null || _$from$nodeAfter === void 0 ? void 0 : _$from$nodeAfter.type.name) === 'layoutColumn' && $from.parent.type.name === 'layoutSection' && supportedCondition;
|
|
90
90
|
};
|
|
91
91
|
|
|
@@ -111,26 +111,24 @@ export function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNo
|
|
|
111
111
|
if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
|
|
112
112
|
return true;
|
|
113
113
|
}
|
|
114
|
-
if (
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
return false;
|
|
122
|
-
}
|
|
123
|
-
return canCreateNodeWithContentInsideAnotherNode([tableCell, tableHeader], convertedFragment);
|
|
124
|
-
}
|
|
125
|
-
if (destParentNodeType === panel) {
|
|
126
|
-
return canCreateNodeWithContentInsideAnotherNode([panel], layoutColumnContent);
|
|
127
|
-
}
|
|
128
|
-
if (destParentNodeType === expand) {
|
|
129
|
-
return canCreateNodeWithContentInsideAnotherNode([expand], layoutColumnContent);
|
|
130
|
-
}
|
|
131
|
-
if (destParentNodeType === nestedExpand) {
|
|
132
|
-
return canCreateNodeWithContentInsideAnotherNode([nestedExpand], layoutColumnContent);
|
|
114
|
+
if (destParentNodeType === tableCell || destParentNodeType === tableHeader) {
|
|
115
|
+
var contentContainsExpand = findChildrenByType(srcNode, expand).length > 0;
|
|
116
|
+
//convert expand to nestedExpand if there are expands inside the layout column
|
|
117
|
+
// otherwise, the createChecked will fail as expand is not a valid child of tableCell/tableHeader, but nestedExpand is
|
|
118
|
+
var convertedFragment = contentContainsExpand ? transformFragmentExpandToNestedExpand(layoutColumnContent) : layoutColumnContent;
|
|
119
|
+
if (!convertedFragment) {
|
|
120
|
+
return false;
|
|
133
121
|
}
|
|
122
|
+
return canCreateNodeWithContentInsideAnotherNode([tableCell, tableHeader], convertedFragment);
|
|
123
|
+
}
|
|
124
|
+
if (destParentNodeType === panel) {
|
|
125
|
+
return canCreateNodeWithContentInsideAnotherNode([panel], layoutColumnContent);
|
|
126
|
+
}
|
|
127
|
+
if (destParentNodeType === expand) {
|
|
128
|
+
return canCreateNodeWithContentInsideAnotherNode([expand], layoutColumnContent);
|
|
129
|
+
}
|
|
130
|
+
if (destParentNodeType === nestedExpand) {
|
|
131
|
+
return canCreateNodeWithContentInsideAnotherNode([nestedExpand], layoutColumnContent);
|
|
134
132
|
}
|
|
135
133
|
}
|
|
136
134
|
|
|
@@ -122,7 +122,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
|
|
|
122
122
|
height: '100%',
|
|
123
123
|
cursor: 'default',
|
|
124
124
|
zIndex: 1
|
|
125
|
-
}),
|
|
125
|
+
}), "&&& ".concat(dragHandlerAnchorSelectorNext, "[data-layout-column]::after"), {
|
|
126
126
|
content: '""',
|
|
127
127
|
position: 'absolute',
|
|
128
128
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -137,7 +137,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
|
|
|
137
137
|
zIndex: 1
|
|
138
138
|
})), 'hr[data-drag-handler-anchor-name]', {
|
|
139
139
|
overflow: 'visible'
|
|
140
|
-
}),
|
|
140
|
+
}), "[data-blocks-drag-handle-container=\"true\"] + ".concat(dragHandlerAnchorSelectorNext, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
|
|
141
141
|
display: 'none'
|
|
142
142
|
}));
|
|
143
143
|
};
|
|
@@ -168,7 +168,7 @@ var extendedDragZone = css({
|
|
|
168
168
|
});
|
|
169
169
|
var extendedDragZoneNext = css({
|
|
170
170
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
171
|
-
'.ProseMirror': _defineProperty({}, "&&
|
|
171
|
+
'.ProseMirror': _defineProperty({}, "&& ".concat(dragHandlerAnchorSelectorNext, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
|
|
172
172
|
width: 'var(--ak-editor-max-container-width)',
|
|
173
173
|
left: "calc((100% - var(--ak-editor-max-container-width))/2)"
|
|
174
174
|
})
|
|
@@ -369,12 +369,9 @@ var withAnchorNameZindexStyle = css({
|
|
|
369
369
|
});
|
|
370
370
|
var withAnchorNameZindexStyleNext = css({
|
|
371
371
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
372
|
-
'.ProseMirror': {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
zIndex: 1
|
|
376
|
-
}
|
|
377
|
-
}
|
|
372
|
+
'.ProseMirror': _defineProperty({}, "&& [".concat(NODE_ANCHOR_ATTR_NAME, "]:not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])"), {
|
|
373
|
+
zIndex: 1
|
|
374
|
+
})
|
|
378
375
|
});
|
|
379
376
|
|
|
380
377
|
// This style is used to define width for block card (with datasource) that does not have layout
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.10",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
53
53
|
"@atlaskit/primitives": "^15.0.0",
|
|
54
54
|
"@atlaskit/theme": "^21.0.0",
|
|
55
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
55
|
+
"@atlaskit/tmp-editor-statsig": "^13.11.0",
|
|
56
56
|
"@atlaskit/tokens": "^6.5.0",
|
|
57
57
|
"@atlaskit/tooltip": "^20.5.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"uuid": "^3.1.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@atlaskit/editor-common": "^110.
|
|
67
|
+
"@atlaskit/editor-common": "^110.13.0",
|
|
68
68
|
"react": "^18.2.0",
|
|
69
69
|
"react-dom": "^18.2.0",
|
|
70
70
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
"platform_editor_ease_of_use_metrics": {
|
|
127
127
|
"type": "boolean"
|
|
128
128
|
},
|
|
129
|
-
"platform_editor_drag_layout_column_into_nodes": {
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
129
|
"platform_editor_elements_dnd_multi_select_patch_2": {
|
|
133
130
|
"type": "boolean"
|
|
134
131
|
},
|