@atlaskit/editor-plugin-block-controls 2.17.3 → 2.17.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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 2.17.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#101861](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101861)
|
|
8
|
+
[`c936775aa003c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c936775aa003c) -
|
|
9
|
+
[ED-26173] clean up FG platform_editor_element_dnd_nested_fix_patch_5
|
|
10
|
+
|
|
3
11
|
## 2.17.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -287,7 +287,7 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref) {
|
|
|
287
287
|
var isExtension = nodeType === 'extension' || nodeType === 'bodiedExtension';
|
|
288
288
|
var isBlockCard = nodeType === 'blockCard' && !!blockCardWidth;
|
|
289
289
|
var isEmbedCard = nodeType === 'embedCard';
|
|
290
|
-
var isMacroInteractionUpdates =
|
|
290
|
+
var isMacroInteractionUpdates = macroInteractionUpdates && isExtension;
|
|
291
291
|
var innerContainer = null;
|
|
292
292
|
if (dom) {
|
|
293
293
|
if (isEmbedCard) {
|
|
@@ -271,7 +271,7 @@ export const DragHandle = ({
|
|
|
271
271
|
const isExtension = nodeType === 'extension' || nodeType === 'bodiedExtension';
|
|
272
272
|
const isBlockCard = nodeType === 'blockCard' && !!blockCardWidth;
|
|
273
273
|
const isEmbedCard = nodeType === 'embedCard';
|
|
274
|
-
const isMacroInteractionUpdates =
|
|
274
|
+
const isMacroInteractionUpdates = macroInteractionUpdates && isExtension;
|
|
275
275
|
let innerContainer = null;
|
|
276
276
|
if (dom) {
|
|
277
277
|
if (isEmbedCard) {
|
|
@@ -278,7 +278,7 @@ export var DragHandle = function DragHandle(_ref) {
|
|
|
278
278
|
var isExtension = nodeType === 'extension' || nodeType === 'bodiedExtension';
|
|
279
279
|
var isBlockCard = nodeType === 'blockCard' && !!blockCardWidth;
|
|
280
280
|
var isEmbedCard = nodeType === 'embedCard';
|
|
281
|
-
var isMacroInteractionUpdates =
|
|
281
|
+
var isMacroInteractionUpdates = macroInteractionUpdates && isExtension;
|
|
282
282
|
var innerContainer = null;
|
|
283
283
|
if (dom) {
|
|
284
284
|
if (isEmbedCard) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.4",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
44
|
-
"@atlaskit/icon": "^23.
|
|
44
|
+
"@atlaskit/icon": "^23.3.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
46
46
|
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
|
|
47
47
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
@@ -124,9 +124,6 @@
|
|
|
124
124
|
"platform_editor_element_dnd_nested_fix_patch_3": {
|
|
125
125
|
"type": "boolean"
|
|
126
126
|
},
|
|
127
|
-
"platform_editor_element_dnd_nested_fix_patch_5": {
|
|
128
|
-
"type": "boolean"
|
|
129
|
-
},
|
|
130
127
|
"platform_editor_element_dnd_nested_type_error_fix": {
|
|
131
128
|
"type": "boolean"
|
|
132
129
|
},
|