@atlaskit/editor-plugin-extension 5.5.3 → 5.5.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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 5.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#165113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165113)
|
|
8
|
+
[`867bcb05452bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/867bcb05452bf) -
|
|
9
|
+
Cleaned up platform_editor_controls_patch_analytics and platform_editor_controls_patch_analytics_2
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 5.5.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
13
13
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
14
14
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
15
15
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _pluginFactory = require("../pm-plugins/plugin-factory");
|
|
18
17
|
var _utils3 = require("../pm-plugins/utils");
|
|
19
18
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -129,7 +128,7 @@ var removeSelectedNodeWithAnalytics = exports.removeSelectedNodeWithAnalytics =
|
|
|
129
128
|
extensionType: node.attrs.extensionType,
|
|
130
129
|
extensionKey: node.attrs.extensionKey,
|
|
131
130
|
localId: node.attrs.localId,
|
|
132
|
-
inputMethod:
|
|
131
|
+
inputMethod: inputMethod
|
|
133
132
|
}
|
|
134
133
|
})(tr);
|
|
135
134
|
}
|
|
@@ -151,7 +150,7 @@ var checkAndRemoveExtensionNode = exports.checkAndRemoveExtensionNode = function
|
|
|
151
150
|
extensionKey: maybeMBENode.node.attrs.extensionKey,
|
|
152
151
|
localId: maybeMBENode.node.attrs.localId,
|
|
153
152
|
currentFramesCount: maybeMBENode.node.content.childCount,
|
|
154
|
-
inputMethod:
|
|
153
|
+
inputMethod: inputMethod
|
|
155
154
|
}
|
|
156
155
|
})(tr);
|
|
157
156
|
}
|
|
@@ -168,7 +167,7 @@ var checkAndRemoveExtensionNode = exports.checkAndRemoveExtensionNode = function
|
|
|
168
167
|
extensionType: bodiedExtensionNode.node.attrs.extensionType,
|
|
169
168
|
extensionKey: bodiedExtensionNode.node.attrs.extensionKey,
|
|
170
169
|
localId: bodiedExtensionNode.node.attrs.localId,
|
|
171
|
-
inputMethod:
|
|
170
|
+
inputMethod: inputMethod
|
|
172
171
|
}
|
|
173
172
|
})(tr);
|
|
174
173
|
}
|
|
@@ -2,7 +2,6 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, TARGET_SELECTION
|
|
|
2
2
|
import { removeConnectedNodes } from '@atlaskit/editor-common/utils';
|
|
3
3
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import { findParentNodeOfType, removeParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { createCommand } from '../pm-plugins/plugin-factory';
|
|
7
6
|
import { getSelectedExtension } from '../pm-plugins/utils';
|
|
8
7
|
|
|
@@ -106,7 +105,7 @@ export const removeSelectedNodeWithAnalytics = (state, tr, analyticsApi, inputMe
|
|
|
106
105
|
extensionType: node.attrs.extensionType,
|
|
107
106
|
extensionKey: node.attrs.extensionKey,
|
|
108
107
|
localId: node.attrs.localId,
|
|
109
|
-
inputMethod:
|
|
108
|
+
inputMethod: inputMethod
|
|
110
109
|
}
|
|
111
110
|
})(tr);
|
|
112
111
|
}
|
|
@@ -128,7 +127,7 @@ export const checkAndRemoveExtensionNode = (state, tr, analyticsApi, inputMethod
|
|
|
128
127
|
extensionKey: maybeMBENode.node.attrs.extensionKey,
|
|
129
128
|
localId: maybeMBENode.node.attrs.localId,
|
|
130
129
|
currentFramesCount: maybeMBENode.node.content.childCount,
|
|
131
|
-
inputMethod
|
|
130
|
+
inputMethod
|
|
132
131
|
}
|
|
133
132
|
})(tr);
|
|
134
133
|
}
|
|
@@ -145,7 +144,7 @@ export const checkAndRemoveExtensionNode = (state, tr, analyticsApi, inputMethod
|
|
|
145
144
|
extensionType: bodiedExtensionNode.node.attrs.extensionType,
|
|
146
145
|
extensionKey: bodiedExtensionNode.node.attrs.extensionKey,
|
|
147
146
|
localId: bodiedExtensionNode.node.attrs.localId,
|
|
148
|
-
inputMethod
|
|
147
|
+
inputMethod
|
|
149
148
|
}
|
|
150
149
|
})(tr);
|
|
151
150
|
}
|
|
@@ -5,7 +5,6 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, TARGET_SELECTION
|
|
|
5
5
|
import { removeConnectedNodes } from '@atlaskit/editor-common/utils';
|
|
6
6
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
7
7
|
import { findParentNodeOfType, removeParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { createCommand } from '../pm-plugins/plugin-factory';
|
|
10
9
|
import { getSelectedExtension } from '../pm-plugins/utils';
|
|
11
10
|
|
|
@@ -120,7 +119,7 @@ export var removeSelectedNodeWithAnalytics = function removeSelectedNodeWithAnal
|
|
|
120
119
|
extensionType: node.attrs.extensionType,
|
|
121
120
|
extensionKey: node.attrs.extensionKey,
|
|
122
121
|
localId: node.attrs.localId,
|
|
123
|
-
inputMethod:
|
|
122
|
+
inputMethod: inputMethod
|
|
124
123
|
}
|
|
125
124
|
})(tr);
|
|
126
125
|
}
|
|
@@ -142,7 +141,7 @@ export var checkAndRemoveExtensionNode = function checkAndRemoveExtensionNode(st
|
|
|
142
141
|
extensionKey: maybeMBENode.node.attrs.extensionKey,
|
|
143
142
|
localId: maybeMBENode.node.attrs.localId,
|
|
144
143
|
currentFramesCount: maybeMBENode.node.content.childCount,
|
|
145
|
-
inputMethod:
|
|
144
|
+
inputMethod: inputMethod
|
|
146
145
|
}
|
|
147
146
|
})(tr);
|
|
148
147
|
}
|
|
@@ -159,7 +158,7 @@ export var checkAndRemoveExtensionNode = function checkAndRemoveExtensionNode(st
|
|
|
159
158
|
extensionType: bodiedExtensionNode.node.attrs.extensionType,
|
|
160
159
|
extensionKey: bodiedExtensionNode.node.attrs.extensionKey,
|
|
161
160
|
localId: bodiedExtensionNode.node.attrs.localId,
|
|
162
|
-
inputMethod:
|
|
161
|
+
inputMethod: inputMethod
|
|
163
162
|
}
|
|
164
163
|
})(tr);
|
|
165
164
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.4",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/button": "^23.2.0",
|
|
33
33
|
"@atlaskit/checkbox": "^17.1.0",
|
|
34
34
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
35
|
-
"@atlaskit/editor-common": "^106.
|
|
35
|
+
"@atlaskit/editor-common": "^106.3.0",
|
|
36
36
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"@atlaskit/textarea": "^8.0.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.0.0",
|
|
62
62
|
"@atlaskit/theme": "^18.0.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^5.14.0",
|
|
64
64
|
"@atlaskit/toggle": "^15.0.0",
|
|
65
|
-
"@atlaskit/tokens": "^5.
|
|
66
|
-
"@atlaskit/tooltip": "^20.
|
|
65
|
+
"@atlaskit/tokens": "^5.1.0",
|
|
66
|
+
"@atlaskit/tooltip": "^20.3.0",
|
|
67
67
|
"@babel/runtime": "^7.0.0",
|
|
68
68
|
"@emotion/react": "^11.7.1",
|
|
69
69
|
"bind-event-listener": "^3.0.0",
|
|
@@ -127,9 +127,6 @@
|
|
|
127
127
|
"platform_editor_controls_patch_2": {
|
|
128
128
|
"type": "boolean"
|
|
129
129
|
},
|
|
130
|
-
"platform_editor_controls_patch_analytics_2": {
|
|
131
|
-
"type": "boolean"
|
|
132
|
-
},
|
|
133
130
|
"platform_editor_controls_patch_8": {
|
|
134
131
|
"type": "boolean"
|
|
135
132
|
},
|