@atlaskit/editor-plugin-collab-edit 1.4.1 → 1.4.3

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,371 +1,388 @@
1
1
  # @atlaskit/editor-plugin-collab-edit
2
2
 
3
+ ## 1.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#103607](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103607)
8
+ [`104c7a82d1a7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104c7a82d1a7) -
9
+ [ux] ED-23363 If you load a live page in view mode, an empty selection will be set.
10
+
11
+ ## 1.4.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
16
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
17
+ [ED-23332] Update adf-schema package to 36.10.1
18
+ - Updated dependencies
19
+
3
20
  ## 1.4.1
4
21
 
5
22
  ### Patch Changes
6
23
 
7
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
8
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
9
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
10
- - Updated dependencies
24
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
25
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
26
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
27
+ - Updated dependencies
11
28
 
12
29
  ## 1.4.0
13
30
 
14
31
  ### Minor Changes
15
32
 
16
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
17
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
18
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
33
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
34
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
35
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
19
36
 
20
37
  ### Patch Changes
21
38
 
22
- - Updated dependencies
39
+ - Updated dependencies
23
40
 
24
41
  ## 1.3.7
25
42
 
26
43
  ### Patch Changes
27
44
 
28
- - Updated dependencies
45
+ - Updated dependencies
29
46
 
30
47
  ## 1.3.6
31
48
 
32
49
  ### Patch Changes
33
50
 
34
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
35
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
36
- [ED-22282] Bump adf-schema to 36.1.0
37
- - Updated dependencies
51
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
52
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
53
+ [ED-22282] Bump adf-schema to 36.1.0
54
+ - Updated dependencies
38
55
 
39
56
  ## 1.3.5
40
57
 
41
58
  ### Patch Changes
42
59
 
43
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
44
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
45
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
46
- language triggering composition on an empty line.This was fixed in a patch bump of
47
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
48
- - Updated dependencies
60
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
61
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
62
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
63
+ language triggering composition on an empty line.This was fixed in a patch bump of
64
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
65
+ - Updated dependencies
49
66
 
50
67
  ## 1.3.4
51
68
 
52
69
  ### Patch Changes
53
70
 
54
- - Updated dependencies
71
+ - Updated dependencies
55
72
 
56
73
  ## 1.3.3
57
74
 
58
75
  ### Patch Changes
59
76
 
60
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
61
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
62
- [ED-23102] Bump ADF schema to version 35.12.2
63
- - Updated dependencies
77
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
78
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
79
+ [ED-23102] Bump ADF schema to version 35.12.2
80
+ - Updated dependencies
64
81
 
65
82
  ## 1.3.2
66
83
 
67
84
  ### Patch Changes
68
85
 
69
- - [#95356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95356)
70
- [`33e92aec7cbb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33e92aec7cbb) -
71
- MODES-4413: Recursively check for remote transaction due to auto steps added through wrapping
72
- transaction with appendTransaction
86
+ - [#95356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95356)
87
+ [`33e92aec7cbb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33e92aec7cbb) -
88
+ MODES-4413: Recursively check for remote transaction due to auto steps added through wrapping
89
+ transaction with appendTransaction
73
90
 
74
91
  ## 1.3.1
75
92
 
76
93
  ### Patch Changes
77
94
 
78
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
79
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
80
- [ED-23097] Bump ADF schema to version 35.12.1
81
- - Updated dependencies
95
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
96
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
97
+ [ED-23097] Bump ADF schema to version 35.12.1
98
+ - Updated dependencies
82
99
 
83
100
  ## 1.3.0
84
101
 
85
102
  ### Minor Changes
86
103
 
87
- - [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433)
88
- [`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) -
89
- [ux] EDF-412 Collaborators avatars and telepointer colors are tokenised.
104
+ - [#86433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86433)
105
+ [`88ca3b199a49`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/88ca3b199a49) -
106
+ [ux] EDF-412 Collaborators avatars and telepointer colors are tokenised.
90
107
 
91
108
  ### Patch Changes
92
109
 
93
- - Updated dependencies
110
+ - Updated dependencies
94
111
 
95
112
  ## 1.2.1
96
113
 
97
114
  ### Patch Changes
98
115
 
99
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
100
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
101
- Updating adf-schema version to 35.10.0
102
- - Updated dependencies
116
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
117
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
118
+ Updating adf-schema version to 35.10.0
119
+ - Updated dependencies
103
120
 
104
121
  ## 1.2.0
105
122
 
106
123
  ### Minor Changes
107
124
 
108
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
109
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
110
- bumped editor-prosemirror version to 4.0.0
125
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
126
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
127
+ bumped editor-prosemirror version to 4.0.0
111
128
 
112
129
  ### Patch Changes
113
130
 
114
- - Updated dependencies
131
+ - Updated dependencies
115
132
 
116
133
  ## 1.1.14
117
134
 
118
135
  ### Patch Changes
119
136
 
120
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
121
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
122
- Bump adf-schema to 35.9.2 to support table alignment options
123
- - Updated dependencies
137
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
138
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
139
+ Bump adf-schema to 35.9.2 to support table alignment options
140
+ - Updated dependencies
124
141
 
125
142
  ## 1.1.13
126
143
 
127
144
  ### Patch Changes
128
145
 
129
- - Updated dependencies
146
+ - Updated dependencies
130
147
 
131
148
  ## 1.1.12
132
149
 
133
150
  ### Patch Changes
134
151
 
135
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
136
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
137
- Bump ADF-schema package to version 35.0.0
138
- - Updated dependencies
152
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
153
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
154
+ Bump ADF-schema package to version 35.0.0
155
+ - Updated dependencies
139
156
 
140
157
  ## 1.1.11
141
158
 
142
159
  ### Patch Changes
143
160
 
144
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
145
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
146
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
147
- 35.7.0 to 35.8.0
148
- - Updated dependencies
161
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
162
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
163
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
164
+ 35.7.0 to 35.8.0
165
+ - Updated dependencies
149
166
 
150
167
  ## 1.1.10
151
168
 
152
169
  ### Patch Changes
153
170
 
154
- - [#84283](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84283)
155
- [`fcc12bc22e37`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcc12bc22e37) -
156
- Clean up platform.editor.enable-map-selection-backward FE FF
171
+ - [#84283](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84283)
172
+ [`fcc12bc22e37`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcc12bc22e37) -
173
+ Clean up platform.editor.enable-map-selection-backward FE FF
157
174
 
158
175
  ## 1.1.9
159
176
 
160
177
  ### Patch Changes
161
178
 
162
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
163
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
164
- Bump adf-schema to 35.7.0
165
- - Updated dependencies
179
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
180
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
181
+ Bump adf-schema to 35.7.0
182
+ - Updated dependencies
166
183
 
167
184
  ## 1.1.8
168
185
 
169
186
  ### Patch Changes
170
187
 
171
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
172
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
173
- Upgrade Typescript from `4.9.5` to `5.4.2`
188
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
189
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
190
+ Upgrade Typescript from `4.9.5` to `5.4.2`
174
191
 
175
192
  ## 1.1.7
176
193
 
177
194
  ### Patch Changes
178
195
 
179
- - [#82658](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82658)
180
- [`9302baf5248c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9302baf5248c) -
181
- Improve Custom Step registration
196
+ - [#82658](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82658)
197
+ [`9302baf5248c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9302baf5248c) -
198
+ Improve Custom Step registration
182
199
 
183
200
  ## 1.1.6
184
201
 
185
202
  ### Patch Changes
186
203
 
187
- - [#82308](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82308)
188
- [`26970b6663ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26970b6663ae) -
189
- Register the custom prosemirror within the collab PM plugin
204
+ - [#82308](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82308)
205
+ [`26970b6663ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26970b6663ae) -
206
+ Register the custom prosemirror within the collab PM plugin
190
207
 
191
208
  ## 1.1.5
192
209
 
193
210
  ### Patch Changes
194
211
 
195
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
196
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
197
- ED-22553 Updating adf-schema version to 35.6.0
198
- - Updated dependencies
212
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
213
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
214
+ ED-22553 Updating adf-schema version to 35.6.0
215
+ - Updated dependencies
199
216
 
200
217
  ## 1.1.4
201
218
 
202
219
  ### Patch Changes
203
220
 
204
- - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947)
205
- [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) -
206
- Migrate @atlaskit/editor-core to use declarative entry points
221
+ - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947)
222
+ [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) -
223
+ Migrate @atlaskit/editor-core to use declarative entry points
207
224
 
208
225
  ## 1.1.3
209
226
 
210
227
  ### Patch Changes
211
228
 
212
- - [#79350](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79350)
213
- [`ba4e64dca012`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ba4e64dca012) -
214
- Add FF to enable mapSelectionBackward to fix the cursor position
229
+ - [#79350](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79350)
230
+ [`ba4e64dca012`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ba4e64dca012) -
231
+ Add FF to enable mapSelectionBackward to fix the cursor position
215
232
 
216
233
  ## 1.1.2
217
234
 
218
235
  ### Patch Changes
219
236
 
220
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
221
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
222
- ED-22219: adf-schema updated to 35.5.2
223
- - Updated dependencies
237
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
238
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
239
+ ED-22219: adf-schema updated to 35.5.2
240
+ - Updated dependencies
224
241
 
225
242
  ## 1.1.1
226
243
 
227
244
  ### Patch Changes
228
245
 
229
- - [#74185](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74185)
230
- [`bdf01577a3b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bdf01577a3b3) -
231
- Exclude remote changes from firstContentBodyChange field
246
+ - [#74185](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74185)
247
+ [`bdf01577a3b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bdf01577a3b3) -
248
+ Exclude remote changes from firstContentBodyChange field
232
249
 
233
250
  ## 1.1.0
234
251
 
235
252
  ### Minor Changes
236
253
 
237
- - [#72920](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72920)
238
- [`8fafb6fc0bc6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8fafb6fc0bc6) -
239
- Add extra field to collabTrackNCSInitializationPlugin which indicates if the document was
240
- changed excluding inline comments
254
+ - [#72920](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72920)
255
+ [`8fafb6fc0bc6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8fafb6fc0bc6) -
256
+ Add extra field to collabTrackNCSInitializationPlugin which indicates if the document was changed
257
+ excluding inline comments
241
258
 
242
259
  ## 1.0.2
243
260
 
244
261
  ### Patch Changes
245
262
 
246
- - Updated dependencies
263
+ - Updated dependencies
247
264
 
248
265
  ## 1.0.1
249
266
 
250
267
  ### Patch Changes
251
268
 
252
- - Updated dependencies
269
+ - Updated dependencies
253
270
 
254
271
  ## 1.0.0
255
272
 
256
273
  ### Major Changes
257
274
 
258
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
259
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
260
- This changeset exists to bump all editor plugins that currently don't have a major version. This
261
- is to address an issue with Jira plugin consumption.
275
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
276
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
277
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
278
+ is to address an issue with Jira plugin consumption.
262
279
 
263
280
  ### Patch Changes
264
281
 
265
- - Updated dependencies
282
+ - Updated dependencies
266
283
 
267
284
  ## 0.1.12
268
285
 
269
286
  ### Patch Changes
270
287
 
271
- - [#69825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69825)
272
- [`e2363da4f6a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2363da4f6a1) -
273
- [No Issue] Replace View Mode API for annotations
274
- - [#69825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69825)
275
- [`e2363da4f6a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2363da4f6a1) -
276
- [No Issue] Replace View Mode API for annotations
277
- - [#69825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69825)
278
- [`e2363da4f6a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2363da4f6a1) -
279
- [No Issue] Replace View Mode API for annotations
288
+ - [#69825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69825)
289
+ [`e2363da4f6a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2363da4f6a1) -
290
+ [No Issue] Replace View Mode API for annotations
291
+ - [#69825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69825)
292
+ [`e2363da4f6a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2363da4f6a1) -
293
+ [No Issue] Replace View Mode API for annotations
294
+ - [#69825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69825)
295
+ [`e2363da4f6a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e2363da4f6a1) -
296
+ [No Issue] Replace View Mode API for annotations
280
297
 
281
298
  ## 0.1.11
282
299
 
283
300
  ### Patch Changes
284
301
 
285
- - [#72026](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72026)
286
- [`0a0cc061a8a7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0a0cc061a8a7) -
287
- [No Issue] Improve Confluence Integration tests precision with data-has-collab-initialised
302
+ - [#72026](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72026)
303
+ [`0a0cc061a8a7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0a0cc061a8a7) -
304
+ [No Issue] Improve Confluence Integration tests precision with data-has-collab-initialised
288
305
 
289
306
  ## 0.1.10
290
307
 
291
308
  ### Patch Changes
292
309
 
293
- - [#71133](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71133)
294
- [`22d7f6ed1f02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22d7f6ed1f02) -
295
- revert prosemirror-collab unfork
310
+ - [#71133](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71133)
311
+ [`22d7f6ed1f02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22d7f6ed1f02) -
312
+ revert prosemirror-collab unfork
296
313
 
297
314
  ## 0.1.9
298
315
 
299
316
  ### Patch Changes
300
317
 
301
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
302
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
303
- Upgrading @atlaskit/editor-prosemirror dependency
304
- - Updated dependencies
318
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
319
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
320
+ Upgrading @atlaskit/editor-prosemirror dependency
321
+ - Updated dependencies
305
322
 
306
323
  ## 0.1.8
307
324
 
308
325
  ### Patch Changes
309
326
 
310
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
311
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
312
- Updating adf-schema version to 35.5.1
313
- - Updated dependencies
327
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
328
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
329
+ Updating adf-schema version to 35.5.1
330
+ - Updated dependencies
314
331
 
315
332
  ## 0.1.7
316
333
 
317
334
  ### Patch Changes
318
335
 
319
- - [#70084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70084)
320
- [`4d651eb93ab5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d651eb93ab5) -
321
- Add editor-plugin-annotation pr and create shared utils for it in editor-test-helpers
322
- - Updated dependencies
336
+ - [#70084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70084)
337
+ [`4d651eb93ab5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d651eb93ab5) -
338
+ Add editor-plugin-annotation pr and create shared utils for it in editor-test-helpers
339
+ - Updated dependencies
323
340
 
324
341
  ## 0.1.6
325
342
 
326
343
  ### Patch Changes
327
344
 
328
- - Updated dependencies
345
+ - Updated dependencies
329
346
 
330
347
  ## 0.1.5
331
348
 
332
349
  ### Patch Changes
333
350
 
334
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
335
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
336
- [ED-21835] Change EditorAPI type to always union with undefined
351
+ - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
352
+ [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
353
+ [ED-21835] Change EditorAPI type to always union with undefined
337
354
 
338
355
  ## 0.1.4
339
356
 
340
357
  ### Patch Changes
341
358
 
342
- - [#65788](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65788)
343
- [`be744e423e9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be744e423e9f) -
344
- ED-21700 Extraction of avatar group plugin
345
- - [#67194](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67194)
346
- [`37379761475c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/37379761475c) -
347
- [ED-21806] Skip changes from NCS and tinted transactions.
359
+ - [#65788](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65788)
360
+ [`be744e423e9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be744e423e9f) -
361
+ ED-21700 Extraction of avatar group plugin
362
+ - [#67194](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67194)
363
+ [`37379761475c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/37379761475c) -
364
+ [ED-21806] Skip changes from NCS and tinted transactions.
348
365
 
349
366
  ## 0.1.3
350
367
 
351
368
  ### Patch Changes
352
369
 
353
- - [#66406](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66406)
354
- [`10b691d11788`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10b691d11788) -
355
- [ED-21806] Add collab initialization metadata into shared state
370
+ - [#66406](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66406)
371
+ [`10b691d11788`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10b691d11788) -
372
+ [ED-21806] Add collab initialization metadata into shared state
356
373
 
357
374
  ## 0.1.2
358
375
 
359
376
  ### Patch Changes
360
377
 
361
- - [#66119](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66119)
362
- [`3f87176f284d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f87176f284d) -
363
- [ED-21806] Refactoring plugin to match NextEditorPlugin standard
378
+ - [#66119](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66119)
379
+ [`3f87176f284d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f87176f284d) -
380
+ [ED-21806] Refactoring plugin to match NextEditorPlugin standard
364
381
 
365
382
  ## 0.1.1
366
383
 
367
384
  ### Patch Changes
368
385
 
369
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
370
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
371
- Ensure all editor plugins are marked as singletons
386
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
387
+ [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
388
+ Ensure all editor plugins are marked as singletons
package/LICENSE.md CHANGED
@@ -1,13 +1,11 @@
1
1
  Copyright 2023 Atlassian Pty Ltd
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
6
5
 
7
6
  http://www.apache.org/licenses/LICENSE-2.0
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
@@ -110,7 +110,10 @@ var collabEditPlugin = exports.collabEditPlugin = function collabEditPlugin(_ref
110
110
  },
111
111
  actions: {
112
112
  getAvatarColor: _utils.getAvatarColor,
113
- addInlineCommentMark: createAddInlineCommentMark(collabEditProviderPromise)
113
+ addInlineCommentMark: createAddInlineCommentMark(collabEditProviderPromise),
114
+ isRemoteReplaceDocumentTransaction: function isRemoteReplaceDocumentTransaction(tr) {
115
+ return tr.getMeta('isRemote') && tr.getMeta('replaceDocument');
116
+ }
114
117
  },
115
118
  pmPlugins: function pmPlugins() {
116
119
  var _ref4 = options || {},
@@ -75,7 +75,8 @@ export const collabEditPlugin = ({
75
75
  },
76
76
  actions: {
77
77
  getAvatarColor,
78
- addInlineCommentMark: createAddInlineCommentMark(collabEditProviderPromise)
78
+ addInlineCommentMark: createAddInlineCommentMark(collabEditProviderPromise),
79
+ isRemoteReplaceDocumentTransaction: tr => tr.getMeta('isRemote') && tr.getMeta('replaceDocument')
79
80
  },
80
81
  pmPlugins() {
81
82
  const {
@@ -103,7 +103,10 @@ export var collabEditPlugin = function collabEditPlugin(_ref3) {
103
103
  },
104
104
  actions: {
105
105
  getAvatarColor: getAvatarColor,
106
- addInlineCommentMark: createAddInlineCommentMark(collabEditProviderPromise)
106
+ addInlineCommentMark: createAddInlineCommentMark(collabEditProviderPromise),
107
+ isRemoteReplaceDocumentTransaction: function isRemoteReplaceDocumentTransaction(tr) {
108
+ return tr.getMeta('isRemote') && tr.getMeta('replaceDocument');
109
+ }
107
110
  },
108
111
  pmPlugins: function pmPlugins() {
109
112
  var _ref4 = options || {},
@@ -12,5 +12,5 @@ type Props = {
12
12
  featureFlags: FeatureFlags;
13
13
  editorAnalyticsApi: EditorAnalyticsAPI | undefined;
14
14
  };
15
- export declare const initialize: ({ options, providerFactory, view, featureFlags, editorAnalyticsApi, }: Props) => (provider: CollabEditProvider) => Cleanup;
15
+ export declare const initialize: ({ options, providerFactory, view, featureFlags, editorAnalyticsApi }: Props) => (provider: CollabEditProvider) => Cleanup;
16
16
  export {};
@@ -7,5 +7,5 @@ type Props = {
7
7
  newEditorState: EditorState;
8
8
  useNativePlugin: boolean;
9
9
  };
10
- export declare const sendTransaction: ({ originalTransaction, transactions, oldEditorState, newEditorState, useNativePlugin, }: Props) => (provider: CollabEditProvider) => void;
10
+ export declare const sendTransaction: ({ originalTransaction, transactions, oldEditorState, newEditorState, useNativePlugin }: Props) => (provider: CollabEditProvider) => void;
11
11
  export {};
@@ -3,6 +3,7 @@ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/t
3
3
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
4
  import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
5
5
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
6
+ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
6
7
  export type { InviteToEditComponentProps, InviteToEditButtonProps, CollabInviteToEditProps, CollabAnalyticsProps, } from '@atlaskit/editor-common/collab';
7
8
  export type PrivateCollabEditOptions = CollabEditOptions & {
8
9
  sanitizePrivateContent?: boolean;
@@ -27,10 +28,7 @@ export type CollabEditPluginSharedState = {
27
28
  };
28
29
  export type CollabEditPlugin = NextEditorPlugin<'collabEdit', {
29
30
  pluginConfiguration: PrivateCollabEditOptions;
30
- dependencies: [
31
- OptionalPlugin<FeatureFlagsPlugin>,
32
- OptionalPlugin<AnalyticsPlugin>
33
- ];
31
+ dependencies: [OptionalPlugin<FeatureFlagsPlugin>, OptionalPlugin<AnalyticsPlugin>];
34
32
  sharedState: CollabEditPluginSharedState;
35
33
  actions: {
36
34
  getAvatarColor: (str: string) => {
@@ -42,5 +40,6 @@ export type CollabEditPlugin = NextEditorPlugin<'collabEdit', {
42
40
  to: number;
43
41
  mark: Mark;
44
42
  }) => boolean;
43
+ isRemoteReplaceDocumentTransaction: (tr: Transaction) => boolean;
45
44
  };
46
45
  }>;
@@ -12,5 +12,5 @@ type Props = {
12
12
  featureFlags: FeatureFlags;
13
13
  editorAnalyticsApi: EditorAnalyticsAPI | undefined;
14
14
  };
15
- export declare const initialize: ({ options, providerFactory, view, featureFlags, editorAnalyticsApi, }: Props) => (provider: CollabEditProvider) => Cleanup;
15
+ export declare const initialize: ({ options, providerFactory, view, featureFlags, editorAnalyticsApi }: Props) => (provider: CollabEditProvider) => Cleanup;
16
16
  export {};
@@ -7,5 +7,5 @@ type Props = {
7
7
  newEditorState: EditorState;
8
8
  useNativePlugin: boolean;
9
9
  };
10
- export declare const sendTransaction: ({ originalTransaction, transactions, oldEditorState, newEditorState, useNativePlugin, }: Props) => (provider: CollabEditProvider) => void;
10
+ export declare const sendTransaction: ({ originalTransaction, transactions, oldEditorState, newEditorState, useNativePlugin }: Props) => (provider: CollabEditProvider) => void;
11
11
  export {};
@@ -3,6 +3,7 @@ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/t
3
3
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
4
  import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
5
5
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
6
+ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
6
7
  export type { InviteToEditComponentProps, InviteToEditButtonProps, CollabInviteToEditProps, CollabAnalyticsProps, } from '@atlaskit/editor-common/collab';
7
8
  export type PrivateCollabEditOptions = CollabEditOptions & {
8
9
  sanitizePrivateContent?: boolean;
@@ -42,5 +43,6 @@ export type CollabEditPlugin = NextEditorPlugin<'collabEdit', {
42
43
  to: number;
43
44
  mark: Mark;
44
45
  }) => boolean;
46
+ isRemoteReplaceDocumentTransaction: (tr: Transaction) => boolean;
45
47
  };
46
48
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,10 +32,10 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/adf-schema": "^36.8.0",
35
+ "@atlaskit/adf-schema": "^36.10.7",
36
36
  "@atlaskit/custom-steps": "^0.2.0",
37
- "@atlaskit/editor-common": "^80.4.0",
38
- "@atlaskit/editor-plugin-analytics": "1.2.1",
37
+ "@atlaskit/editor-common": "^81.2.0",
38
+ "@atlaskit/editor-plugin-analytics": "1.2.2",
39
39
  "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
40
40
  "@atlaskit/editor-prosemirror": "4.0.1",
41
41
  "@atlaskit/editor-shared-styles": "^2.11.0",
@@ -49,8 +49,8 @@
49
49
  "devDependencies": {
50
50
  "@af/integration-testing": "*",
51
51
  "@af/visual-regression": "*",
52
- "@atlaskit/editor-plugin-mentions": "^1.2.0",
53
- "@atlaskit/editor-plugin-text-formatting": "^1.6.0",
52
+ "@atlaskit/editor-plugin-mentions": "^1.5.0",
53
+ "@atlaskit/editor-plugin-text-formatting": "^1.7.0",
54
54
  "@atlaskit/editor-plugin-type-ahead": "^1.2.0",
55
55
  "@atlaskit/editor-plugin-unsupported-content": "^1.2.0",
56
56
  "@atlaskit/editor-test-helpers": "^18.23.0",
@@ -59,7 +59,6 @@
59
59
  "@atlaskit/util-data-test": "^17.9.0",
60
60
  "@atlaskit/visual-regression": "*",
61
61
  "@atlaskit/webdriver-runner": "*",
62
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
63
62
  "@testing-library/react": "^12.1.5",
64
63
  "react-dom": "^16.8.0",
65
64
  "typescript": "~5.4.2",
@@ -97,6 +96,5 @@
97
96
  "import-no-extraneous-disable-for-examples-and-docs"
98
97
  ]
99
98
  }
100
- },
101
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
99
+ }
102
100
  }