@atlaskit/editor-plugin-collab-edit 1.4.2 → 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 +160 -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 +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,380 +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
|
+
|
|
3
11
|
## 1.4.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
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
|
|
11
19
|
|
|
12
20
|
## 1.4.1
|
|
13
21
|
|
|
14
22
|
### Patch Changes
|
|
15
23
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
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
|
|
20
28
|
|
|
21
29
|
## 1.4.0
|
|
22
30
|
|
|
23
31
|
### Minor Changes
|
|
24
32
|
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
|
28
36
|
|
|
29
37
|
### Patch Changes
|
|
30
38
|
|
|
31
|
-
-
|
|
39
|
+
- Updated dependencies
|
|
32
40
|
|
|
33
41
|
## 1.3.7
|
|
34
42
|
|
|
35
43
|
### Patch Changes
|
|
36
44
|
|
|
37
|
-
-
|
|
45
|
+
- Updated dependencies
|
|
38
46
|
|
|
39
47
|
## 1.3.6
|
|
40
48
|
|
|
41
49
|
### Patch Changes
|
|
42
50
|
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
-
|
|
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
|
|
47
55
|
|
|
48
56
|
## 1.3.5
|
|
49
57
|
|
|
50
58
|
### Patch Changes
|
|
51
59
|
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
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
|
|
58
66
|
|
|
59
67
|
## 1.3.4
|
|
60
68
|
|
|
61
69
|
### Patch Changes
|
|
62
70
|
|
|
63
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
64
72
|
|
|
65
73
|
## 1.3.3
|
|
66
74
|
|
|
67
75
|
### Patch Changes
|
|
68
76
|
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
-
|
|
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
|
|
73
81
|
|
|
74
82
|
## 1.3.2
|
|
75
83
|
|
|
76
84
|
### Patch Changes
|
|
77
85
|
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
|
82
90
|
|
|
83
91
|
## 1.3.1
|
|
84
92
|
|
|
85
93
|
### Patch Changes
|
|
86
94
|
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
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
|
|
91
99
|
|
|
92
100
|
## 1.3.0
|
|
93
101
|
|
|
94
102
|
### Minor Changes
|
|
95
103
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
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.
|
|
99
107
|
|
|
100
108
|
### Patch Changes
|
|
101
109
|
|
|
102
|
-
-
|
|
110
|
+
- Updated dependencies
|
|
103
111
|
|
|
104
112
|
## 1.2.1
|
|
105
113
|
|
|
106
114
|
### Patch Changes
|
|
107
115
|
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
-
|
|
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
|
|
112
120
|
|
|
113
121
|
## 1.2.0
|
|
114
122
|
|
|
115
123
|
### Minor Changes
|
|
116
124
|
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
|
120
128
|
|
|
121
129
|
### Patch Changes
|
|
122
130
|
|
|
123
|
-
-
|
|
131
|
+
- Updated dependencies
|
|
124
132
|
|
|
125
133
|
## 1.1.14
|
|
126
134
|
|
|
127
135
|
### Patch Changes
|
|
128
136
|
|
|
129
|
-
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
-
|
|
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
|
|
133
141
|
|
|
134
142
|
## 1.1.13
|
|
135
143
|
|
|
136
144
|
### Patch Changes
|
|
137
145
|
|
|
138
|
-
-
|
|
146
|
+
- Updated dependencies
|
|
139
147
|
|
|
140
148
|
## 1.1.12
|
|
141
149
|
|
|
142
150
|
### Patch Changes
|
|
143
151
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
-
|
|
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
|
|
148
156
|
|
|
149
157
|
## 1.1.11
|
|
150
158
|
|
|
151
159
|
### Patch Changes
|
|
152
160
|
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
-
|
|
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
|
|
158
166
|
|
|
159
167
|
## 1.1.10
|
|
160
168
|
|
|
161
169
|
### Patch Changes
|
|
162
170
|
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
|
166
174
|
|
|
167
175
|
## 1.1.9
|
|
168
176
|
|
|
169
177
|
### Patch Changes
|
|
170
178
|
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
-
|
|
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
|
|
175
183
|
|
|
176
184
|
## 1.1.8
|
|
177
185
|
|
|
178
186
|
### Patch Changes
|
|
179
187
|
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
|
|
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`
|
|
183
191
|
|
|
184
192
|
## 1.1.7
|
|
185
193
|
|
|
186
194
|
### Patch Changes
|
|
187
195
|
|
|
188
|
-
-
|
|
189
|
-
|
|
190
|
-
|
|
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
|
|
191
199
|
|
|
192
200
|
## 1.1.6
|
|
193
201
|
|
|
194
202
|
### Patch Changes
|
|
195
203
|
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
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
|
|
199
207
|
|
|
200
208
|
## 1.1.5
|
|
201
209
|
|
|
202
210
|
### Patch Changes
|
|
203
211
|
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
-
|
|
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
|
|
208
216
|
|
|
209
217
|
## 1.1.4
|
|
210
218
|
|
|
211
219
|
### Patch Changes
|
|
212
220
|
|
|
213
|
-
-
|
|
214
|
-
|
|
215
|
-
|
|
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
|
|
216
224
|
|
|
217
225
|
## 1.1.3
|
|
218
226
|
|
|
219
227
|
### Patch Changes
|
|
220
228
|
|
|
221
|
-
-
|
|
222
|
-
|
|
223
|
-
|
|
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
|
|
224
232
|
|
|
225
233
|
## 1.1.2
|
|
226
234
|
|
|
227
235
|
### Patch Changes
|
|
228
236
|
|
|
229
|
-
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
-
|
|
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
|
|
233
241
|
|
|
234
242
|
## 1.1.1
|
|
235
243
|
|
|
236
244
|
### Patch Changes
|
|
237
245
|
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
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
|
|
241
249
|
|
|
242
250
|
## 1.1.0
|
|
243
251
|
|
|
244
252
|
### Minor Changes
|
|
245
253
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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
|
|
250
258
|
|
|
251
259
|
## 1.0.2
|
|
252
260
|
|
|
253
261
|
### Patch Changes
|
|
254
262
|
|
|
255
|
-
-
|
|
263
|
+
- Updated dependencies
|
|
256
264
|
|
|
257
265
|
## 1.0.1
|
|
258
266
|
|
|
259
267
|
### Patch Changes
|
|
260
268
|
|
|
261
|
-
-
|
|
269
|
+
- Updated dependencies
|
|
262
270
|
|
|
263
271
|
## 1.0.0
|
|
264
272
|
|
|
265
273
|
### Major Changes
|
|
266
274
|
|
|
267
|
-
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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.
|
|
271
279
|
|
|
272
280
|
### Patch Changes
|
|
273
281
|
|
|
274
|
-
-
|
|
282
|
+
- Updated dependencies
|
|
275
283
|
|
|
276
284
|
## 0.1.12
|
|
277
285
|
|
|
278
286
|
### Patch Changes
|
|
279
287
|
|
|
280
|
-
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
-
|
|
287
|
-
|
|
288
|
-
|
|
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
|
|
289
297
|
|
|
290
298
|
## 0.1.11
|
|
291
299
|
|
|
292
300
|
### Patch Changes
|
|
293
301
|
|
|
294
|
-
-
|
|
295
|
-
|
|
296
|
-
|
|
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
|
|
297
305
|
|
|
298
306
|
## 0.1.10
|
|
299
307
|
|
|
300
308
|
### Patch Changes
|
|
301
309
|
|
|
302
|
-
-
|
|
303
|
-
|
|
304
|
-
|
|
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
|
|
305
313
|
|
|
306
314
|
## 0.1.9
|
|
307
315
|
|
|
308
316
|
### Patch Changes
|
|
309
317
|
|
|
310
|
-
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
-
|
|
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
|
|
314
322
|
|
|
315
323
|
## 0.1.8
|
|
316
324
|
|
|
317
325
|
### Patch Changes
|
|
318
326
|
|
|
319
|
-
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
-
|
|
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
|
|
323
331
|
|
|
324
332
|
## 0.1.7
|
|
325
333
|
|
|
326
334
|
### Patch Changes
|
|
327
335
|
|
|
328
|
-
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
-
|
|
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
|
|
332
340
|
|
|
333
341
|
## 0.1.6
|
|
334
342
|
|
|
335
343
|
### Patch Changes
|
|
336
344
|
|
|
337
|
-
-
|
|
345
|
+
- Updated dependencies
|
|
338
346
|
|
|
339
347
|
## 0.1.5
|
|
340
348
|
|
|
341
349
|
### Patch Changes
|
|
342
350
|
|
|
343
|
-
-
|
|
344
|
-
|
|
345
|
-
|
|
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
|
|
346
354
|
|
|
347
355
|
## 0.1.4
|
|
348
356
|
|
|
349
357
|
### Patch Changes
|
|
350
358
|
|
|
351
|
-
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
-
|
|
355
|
-
|
|
356
|
-
|
|
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.
|
|
357
365
|
|
|
358
366
|
## 0.1.3
|
|
359
367
|
|
|
360
368
|
### Patch Changes
|
|
361
369
|
|
|
362
|
-
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
|
365
373
|
|
|
366
374
|
## 0.1.2
|
|
367
375
|
|
|
368
376
|
### Patch Changes
|
|
369
377
|
|
|
370
|
-
-
|
|
371
|
-
|
|
372
|
-
|
|
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
|
|
373
381
|
|
|
374
382
|
## 0.1.1
|
|
375
383
|
|
|
376
384
|
### Patch Changes
|
|
377
385
|
|
|
378
|
-
-
|
|
379
|
-
|
|
380
|
-
|
|
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
|
-
|
|
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.3",
|
|
4
4
|
"description": "Collab Edit plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
36
36
|
"@atlaskit/custom-steps": "^0.2.0",
|
|
37
|
-
"@atlaskit/editor-common": "^81.
|
|
37
|
+
"@atlaskit/editor-common": "^81.2.0",
|
|
38
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",
|
|
@@ -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
|
}
|