@atlaskit/editor-plugin-collab-edit 7.1.4 → 7.1.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 +17 -0
- package/dist/cjs/pm-plugins/events/send-transaction.js +1 -1
- package/dist/cjs/pm-plugins/main/plugin-state.js +1 -1
- package/dist/es2019/pm-plugins/events/send-transaction.js +1 -1
- package/dist/es2019/pm-plugins/main/plugin-state.js +1 -1
- package/dist/esm/pm-plugins/events/send-transaction.js +1 -1
- package/dist/esm/pm-plugins/main/plugin-state.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-collab-edit
|
|
2
2
|
|
|
3
|
+
## 7.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0d237a5696b06`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d237a5696b06) -
|
|
8
|
+
Uncoupled several block of changes from the aifc FG and moved them behind their own FG so they can
|
|
9
|
+
be rolled out quicker
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 7.1.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
|
|
17
|
+
EDITOR-2791 bump adf-schema
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 7.1.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -48,7 +48,7 @@ var sendTransaction = exports.sendTransaction = function sendTransaction(_ref) {
|
|
|
48
48
|
sessionId = currentPluginState.sessionId;
|
|
49
49
|
var selectionChanged = !oldEditorState.selection.eq(newEditorState.selection);
|
|
50
50
|
var participantsChanged = prevActiveParticipants && !prevActiveParticipants.eq(activeParticipants);
|
|
51
|
-
if ((0, _platformFeatureFlags.fg)('
|
|
51
|
+
if ((0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc')) {
|
|
52
52
|
if (!sessionId || viewMode !== 'edit') {
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
@@ -174,7 +174,7 @@ var PluginState = exports.PluginState = /*#__PURE__*/function () {
|
|
|
174
174
|
} catch (err) {
|
|
175
175
|
this.onError(err);
|
|
176
176
|
}
|
|
177
|
-
if (!(0, _platformFeatureFlags.fg)('
|
|
177
|
+
if (!(0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc')) {
|
|
178
178
|
// Remove any selection decoration within the change range,
|
|
179
179
|
// takes care of the issue when after pasting we end up with a dead selection
|
|
180
180
|
tr.steps.filter(_utils.isReplaceStep).forEach(function (s) {
|
|
@@ -43,7 +43,7 @@ export const sendTransaction = ({
|
|
|
43
43
|
} = currentPluginState;
|
|
44
44
|
const selectionChanged = !oldEditorState.selection.eq(newEditorState.selection);
|
|
45
45
|
const participantsChanged = prevActiveParticipants && !prevActiveParticipants.eq(activeParticipants);
|
|
46
|
-
if (fg('
|
|
46
|
+
if (fg('platform_editor_ai_generic_prep_for_aifc')) {
|
|
47
47
|
if (!sessionId || viewMode !== 'edit') {
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
@@ -155,7 +155,7 @@ export class PluginState {
|
|
|
155
155
|
} catch (err) {
|
|
156
156
|
this.onError(err);
|
|
157
157
|
}
|
|
158
|
-
if (!fg('
|
|
158
|
+
if (!fg('platform_editor_ai_generic_prep_for_aifc')) {
|
|
159
159
|
// Remove any selection decoration within the change range,
|
|
160
160
|
// takes care of the issue when after pasting we end up with a dead selection
|
|
161
161
|
tr.steps.filter(isReplaceStep).forEach(s => {
|
|
@@ -42,7 +42,7 @@ export var sendTransaction = function sendTransaction(_ref) {
|
|
|
42
42
|
sessionId = currentPluginState.sessionId;
|
|
43
43
|
var selectionChanged = !oldEditorState.selection.eq(newEditorState.selection);
|
|
44
44
|
var participantsChanged = prevActiveParticipants && !prevActiveParticipants.eq(activeParticipants);
|
|
45
|
-
if (fg('
|
|
45
|
+
if (fg('platform_editor_ai_generic_prep_for_aifc')) {
|
|
46
46
|
if (!sessionId || viewMode !== 'edit') {
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
@@ -168,7 +168,7 @@ export var PluginState = /*#__PURE__*/function () {
|
|
|
168
168
|
} catch (err) {
|
|
169
169
|
this.onError(err);
|
|
170
170
|
}
|
|
171
|
-
if (!fg('
|
|
171
|
+
if (!fg('platform_editor_ai_generic_prep_for_aifc')) {
|
|
172
172
|
// Remove any selection decoration within the change range,
|
|
173
173
|
// takes care of the issue when after pasting we end up with a dead selection
|
|
174
174
|
tr.steps.filter(isReplaceStep).forEach(function (s) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-collab-edit",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.6",
|
|
4
4
|
"description": "Collab Edit plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^51.
|
|
30
|
+
"@atlaskit/adf-schema": "^51.4.0",
|
|
31
31
|
"@atlaskit/custom-steps": "^0.16.0",
|
|
32
32
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-feature-flags": "^5.0.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
38
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
38
|
+
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
39
39
|
"@atlaskit/frontend-utilities": "^3.2.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/prosemirror-collab": "^0.22.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^13.42.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"memoize-one": "^6.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^110.
|
|
47
|
+
"@atlaskit/editor-common": "^110.34.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0"
|
|
50
50
|
},
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"platform-feature-flags": {
|
|
100
|
-
"
|
|
100
|
+
"platform_editor_ai_generic_prep_for_aifc": {
|
|
101
101
|
"type": "boolean"
|
|
102
102
|
},
|
|
103
103
|
"platform_editor_inorganic_batchattrsstep_localid": {
|