@atlaskit/editor-plugin-block-controls 1.5.4 → 1.5.6
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,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 1.5.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e7c8b06889c5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e7c8b06889c5a) -
|
|
8
|
+
[ux] Fix scroll issue for layout node when drap and drop
|
|
9
|
+
|
|
10
|
+
## 1.5.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 1.5.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -105,6 +105,7 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref) {
|
|
|
105
105
|
});
|
|
106
106
|
var resolvedMovingNode = tr.doc.resolve(start);
|
|
107
107
|
var maybeNode = resolvedMovingNode.nodeAfter;
|
|
108
|
+
(0, _platformFeatureFlags.getBooleanFF)('platform.editor.elements.drag-and-drop-long-node-scroll') && tr.setMeta('scrollIntoView', false);
|
|
108
109
|
api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 || _api$analytics.actions.attachAnalyticsEvent({
|
|
109
110
|
eventType: _analytics.EVENT_TYPE.UI,
|
|
110
111
|
action: _analytics.ACTION.CLICKED,
|
|
@@ -91,6 +91,7 @@ export const DragHandle = ({
|
|
|
91
91
|
});
|
|
92
92
|
const resolvedMovingNode = tr.doc.resolve(start);
|
|
93
93
|
const maybeNode = resolvedMovingNode.nodeAfter;
|
|
94
|
+
getBooleanFF('platform.editor.elements.drag-and-drop-long-node-scroll') && tr.setMeta('scrollIntoView', false);
|
|
94
95
|
api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions.attachAnalyticsEvent({
|
|
95
96
|
eventType: EVENT_TYPE.UI,
|
|
96
97
|
action: ACTION.CLICKED,
|
|
@@ -97,6 +97,7 @@ export var DragHandle = function DragHandle(_ref) {
|
|
|
97
97
|
});
|
|
98
98
|
var resolvedMovingNode = tr.doc.resolve(start);
|
|
99
99
|
var maybeNode = resolvedMovingNode.nodeAfter;
|
|
100
|
+
getBooleanFF('platform.editor.elements.drag-and-drop-long-node-scroll') && tr.setMeta('scrollIntoView', false);
|
|
100
101
|
api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 || _api$analytics.actions.attachAnalyticsEvent({
|
|
101
102
|
eventType: EVENT_TYPE.UI,
|
|
102
103
|
action: ACTION.CLICKED,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
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-shared-styles": "^2.12.0",
|
|
42
42
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
43
43
|
"@atlaskit/icon": "^22.5.0",
|
|
44
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
44
|
+
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
45
45
|
"@atlaskit/pragmatic-drag-and-drop": "^1.1.0",
|
|
46
46
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.3.0",
|
|
47
47
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.0",
|
|
@@ -101,6 +101,9 @@
|
|
|
101
101
|
"platform.editor.elements.drag-and-drop-remove-wrapper_fyqr2": {
|
|
102
102
|
"type": "boolean"
|
|
103
103
|
},
|
|
104
|
+
"platform.editor.elements.drag-and-drop-long-node-scroll": {
|
|
105
|
+
"type": "boolean"
|
|
106
|
+
},
|
|
104
107
|
"platform.editor.media.extended-resize-experience": {
|
|
105
108
|
"type": "boolean",
|
|
106
109
|
"referenceOnly": true
|