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