@atlaskit/editor-plugin-hyperlink 1.6.2 → 1.6.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 +314 -186
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,531 +1,659 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-hyperlink
|
|
2
2
|
|
|
3
|
+
## 1.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
8
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
9
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
10
|
+
|
|
3
11
|
## 1.6.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
15
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
16
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
17
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
8
18
|
|
|
9
19
|
## 1.6.1
|
|
10
20
|
|
|
11
21
|
### Patch Changes
|
|
12
22
|
|
|
13
|
-
-
|
|
23
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
24
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
25
|
+
Updating adf-schema version to 35.10.0
|
|
14
26
|
|
|
15
27
|
## 1.6.0
|
|
16
28
|
|
|
17
29
|
### Minor Changes
|
|
18
30
|
|
|
19
|
-
-
|
|
31
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
32
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
33
|
+
bumped editor-prosemirror version to 4.0.0
|
|
20
34
|
|
|
21
35
|
### Patch Changes
|
|
22
36
|
|
|
23
|
-
-
|
|
37
|
+
- Updated dependencies
|
|
24
38
|
|
|
25
39
|
## 1.5.2
|
|
26
40
|
|
|
27
41
|
### Patch Changes
|
|
28
42
|
|
|
29
|
-
-
|
|
43
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
44
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
45
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
30
46
|
|
|
31
47
|
## 1.5.1
|
|
32
48
|
|
|
33
49
|
### Patch Changes
|
|
34
50
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
51
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
52
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
53
|
+
Bump ADF-schema package to version 35.0.0
|
|
54
|
+
- Updated dependencies
|
|
37
55
|
|
|
38
56
|
## 1.5.0
|
|
39
57
|
|
|
40
58
|
### Minor Changes
|
|
41
59
|
|
|
42
|
-
-
|
|
60
|
+
- [#89386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89386)
|
|
61
|
+
[`567378286049`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/567378286049) -
|
|
62
|
+
Adds `addToolbarItems` action to hyperlink toolbar plugin in order to support adding addition
|
|
63
|
+
toolbar items to the end of the floating toolbar for blue links. Requires
|
|
64
|
+
platform.editor.card.inject-settings-button platform feature flag for usage.
|
|
43
65
|
|
|
44
66
|
### Patch Changes
|
|
45
67
|
|
|
46
|
-
-
|
|
68
|
+
- Updated dependencies
|
|
47
69
|
|
|
48
70
|
## 1.4.0
|
|
49
71
|
|
|
50
72
|
### Minor Changes
|
|
51
73
|
|
|
52
|
-
-
|
|
74
|
+
- [#84430](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84430)
|
|
75
|
+
[`2981b2835973`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2981b2835973) -
|
|
76
|
+
[ux] EDM-9111 Prevent linkification of links with suspicious tlds
|
|
53
77
|
|
|
54
78
|
### Patch Changes
|
|
55
79
|
|
|
56
|
-
-
|
|
80
|
+
- Updated dependencies
|
|
57
81
|
|
|
58
82
|
## 1.3.1
|
|
59
83
|
|
|
60
84
|
### Patch Changes
|
|
61
85
|
|
|
62
|
-
-
|
|
86
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
87
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
88
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
89
|
+
35.7.0 to 35.8.0
|
|
63
90
|
|
|
64
91
|
## 1.3.0
|
|
65
92
|
|
|
66
93
|
### Minor Changes
|
|
67
94
|
|
|
68
|
-
-
|
|
95
|
+
- [#84733](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84733)
|
|
96
|
+
[`de779b2d9543`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de779b2d9543) -
|
|
97
|
+
Modify link-preferences to factor in CLOUD_ENV environment varaible when fetching preferences
|
|
98
|
+
link
|
|
69
99
|
|
|
70
100
|
### Patch Changes
|
|
71
101
|
|
|
72
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
73
103
|
|
|
74
104
|
## 1.2.0
|
|
75
105
|
|
|
76
106
|
### Minor Changes
|
|
77
107
|
|
|
78
|
-
-
|
|
108
|
+
- [#84054](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84054)
|
|
109
|
+
[`43605c45b445`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43605c45b445) -
|
|
110
|
+
EDF-468 Added disableFloatingToolbar plugin option to disable showing floating toolbar when
|
|
111
|
+
hyperlink is clicked.
|
|
79
112
|
|
|
80
113
|
## 1.1.4
|
|
81
114
|
|
|
82
115
|
### Patch Changes
|
|
83
116
|
|
|
84
|
-
-
|
|
117
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
118
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
119
|
+
Bump adf-schema to 35.7.0
|
|
85
120
|
|
|
86
121
|
## 1.1.3
|
|
87
122
|
|
|
88
123
|
### Patch Changes
|
|
89
124
|
|
|
90
|
-
-
|
|
125
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
126
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
127
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
91
128
|
|
|
92
129
|
## 1.1.2
|
|
93
130
|
|
|
94
131
|
### Patch Changes
|
|
95
132
|
|
|
96
|
-
-
|
|
133
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
134
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
135
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
97
136
|
|
|
98
137
|
## 1.1.1
|
|
99
138
|
|
|
100
139
|
### Patch Changes
|
|
101
140
|
|
|
102
|
-
-
|
|
103
|
-
-
|
|
141
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
142
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
143
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
144
|
+
- Updated dependencies
|
|
104
145
|
|
|
105
146
|
## 1.1.0
|
|
106
147
|
|
|
107
148
|
### Minor Changes
|
|
108
149
|
|
|
109
|
-
-
|
|
150
|
+
- [#76379](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76379)
|
|
151
|
+
[`1550bb6f5bde`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1550bb6f5bde) -
|
|
152
|
+
Updating links for link-preferences to be dependent on staging environment
|
|
110
153
|
|
|
111
154
|
## 1.0.2
|
|
112
155
|
|
|
113
156
|
### Patch Changes
|
|
114
157
|
|
|
115
|
-
-
|
|
158
|
+
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
|
|
159
|
+
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
|
|
160
|
+
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
|
|
116
161
|
|
|
117
|
-
|
|
162
|
+
## WHY?
|
|
118
163
|
|
|
119
|
-
|
|
164
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
120
165
|
|
|
121
|
-
|
|
166
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
122
167
|
|
|
123
|
-
|
|
168
|
+
## WHAT and HOW?
|
|
124
169
|
|
|
125
|
-
|
|
170
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
171
|
+
`@atlaskit/editor-common/types`:
|
|
126
172
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
173
|
+
- InputRuleWrapper
|
|
174
|
+
- InputRuleHandler
|
|
175
|
+
- OnHandlerApply
|
|
176
|
+
- createRule
|
|
131
177
|
|
|
132
|
-
|
|
178
|
+
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
|
|
179
|
+
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
|
|
133
180
|
|
|
134
|
-
|
|
181
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
135
182
|
|
|
136
|
-
|
|
137
|
-
|
|
183
|
+
- createPlugin
|
|
184
|
+
- createInputRulePlugin
|
|
138
185
|
|
|
139
|
-
-
|
|
186
|
+
- Updated dependencies
|
|
140
187
|
|
|
141
188
|
## 1.0.1
|
|
142
189
|
|
|
143
190
|
### Patch Changes
|
|
144
191
|
|
|
145
|
-
-
|
|
192
|
+
- Updated dependencies
|
|
146
193
|
|
|
147
194
|
## 1.0.0
|
|
148
195
|
|
|
149
196
|
### Major Changes
|
|
150
197
|
|
|
151
|
-
-
|
|
198
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
199
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
200
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
201
|
+
is to address an issue with Jira plugin consumption.
|
|
152
202
|
|
|
153
203
|
### Patch Changes
|
|
154
204
|
|
|
155
|
-
-
|
|
205
|
+
- Updated dependencies
|
|
156
206
|
|
|
157
207
|
## 0.8.3
|
|
158
208
|
|
|
159
209
|
### Patch Changes
|
|
160
210
|
|
|
161
|
-
-
|
|
211
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
212
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
213
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
162
214
|
|
|
163
215
|
## 0.8.2
|
|
164
216
|
|
|
165
217
|
### Patch Changes
|
|
166
218
|
|
|
167
|
-
-
|
|
219
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
220
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
221
|
+
Updating adf-schema version to 35.5.1
|
|
168
222
|
|
|
169
223
|
## 0.8.1
|
|
170
224
|
|
|
171
225
|
### Patch Changes
|
|
172
226
|
|
|
173
|
-
-
|
|
227
|
+
- Updated dependencies
|
|
174
228
|
|
|
175
229
|
## 0.8.0
|
|
176
230
|
|
|
177
231
|
### Minor Changes
|
|
178
232
|
|
|
179
|
-
-
|
|
233
|
+
- [#66364](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66364)
|
|
234
|
+
[`212c782cb7a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/212c782cb7a6) -
|
|
235
|
+
No longer require `cardOptions` to be passed to the hyperlink plugin configuration, it exposes a
|
|
236
|
+
new optional way to skip analytics via the prependToolbarButtons action.
|
|
180
237
|
|
|
181
238
|
### Patch Changes
|
|
182
239
|
|
|
183
|
-
-
|
|
240
|
+
- Updated dependencies
|
|
184
241
|
|
|
185
242
|
## 0.7.0
|
|
186
243
|
|
|
187
244
|
### Minor Changes
|
|
188
245
|
|
|
189
|
-
-
|
|
246
|
+
- [#65019](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65019)
|
|
247
|
+
[`7290a6f8d435`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7290a6f8d435) -
|
|
248
|
+
Adding lpLinkPicker param to card and hyperlink plugins instead of using feature flag
|
|
190
249
|
|
|
191
250
|
### Patch Changes
|
|
192
251
|
|
|
193
|
-
-
|
|
252
|
+
- Updated dependencies
|
|
194
253
|
|
|
195
254
|
## 0.6.11
|
|
196
255
|
|
|
197
256
|
### Patch Changes
|
|
198
257
|
|
|
199
|
-
-
|
|
200
|
-
-
|
|
258
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
259
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
260
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
261
|
+
- Updated dependencies
|
|
201
262
|
|
|
202
263
|
## 0.6.10
|
|
203
264
|
|
|
204
265
|
### Patch Changes
|
|
205
266
|
|
|
206
|
-
-
|
|
267
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
268
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
269
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
207
270
|
|
|
208
271
|
## 0.6.9
|
|
209
272
|
|
|
210
273
|
### Patch Changes
|
|
211
274
|
|
|
212
|
-
-
|
|
275
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
276
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
277
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
213
278
|
|
|
214
279
|
## 0.6.8
|
|
215
280
|
|
|
216
281
|
### Patch Changes
|
|
217
282
|
|
|
218
|
-
-
|
|
283
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
284
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
285
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
219
286
|
|
|
220
287
|
## 0.6.7
|
|
221
288
|
|
|
222
289
|
### Patch Changes
|
|
223
290
|
|
|
224
|
-
-
|
|
291
|
+
- Updated dependencies
|
|
225
292
|
|
|
226
293
|
## 0.6.6
|
|
227
294
|
|
|
228
295
|
### Patch Changes
|
|
229
296
|
|
|
230
|
-
-
|
|
297
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
298
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
299
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
231
300
|
|
|
232
301
|
## 0.6.5
|
|
233
302
|
|
|
234
303
|
### Patch Changes
|
|
235
304
|
|
|
236
|
-
-
|
|
237
|
-
-
|
|
305
|
+
- [#58193](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58193)
|
|
306
|
+
[`4bf69e3255f8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4bf69e3255f8) -
|
|
307
|
+
NO-ISSUE Added the capability to override the default card type of inline when inserting links,
|
|
308
|
+
so we can have Loom links convert to embed cards
|
|
309
|
+
- Updated dependencies
|
|
238
310
|
|
|
239
311
|
## 0.6.4
|
|
240
312
|
|
|
241
313
|
### Patch Changes
|
|
242
314
|
|
|
243
|
-
-
|
|
315
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
316
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
317
|
+
update ADF schema
|
|
244
318
|
|
|
245
319
|
## 0.6.3
|
|
246
320
|
|
|
247
321
|
### Patch Changes
|
|
248
322
|
|
|
249
|
-
-
|
|
323
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
324
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
325
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
250
326
|
|
|
251
327
|
## 0.6.2
|
|
252
328
|
|
|
253
329
|
### Patch Changes
|
|
254
330
|
|
|
255
|
-
-
|
|
331
|
+
- [#42839](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42839)
|
|
332
|
+
[`7324375d4fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7324375d4fa) - [ux]
|
|
333
|
+
Cleansup feature flag `prevent-popup-overflow` so that it is permanently enabled when
|
|
334
|
+
`lp-link-picker` flag is enabled, improving the positioning of the link picker.
|
|
256
335
|
|
|
257
336
|
## 0.6.1
|
|
258
337
|
|
|
259
338
|
### Patch Changes
|
|
260
339
|
|
|
261
|
-
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
340
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
341
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
342
|
+
feature flags plugin optional in all plugins including:
|
|
343
|
+
|
|
344
|
+
- analytics
|
|
345
|
+
- base
|
|
346
|
+
- card
|
|
347
|
+
- code-block
|
|
348
|
+
- expand
|
|
349
|
+
- extension
|
|
350
|
+
- floating-toolbar
|
|
351
|
+
- hyperlink
|
|
352
|
+
- insert-block
|
|
353
|
+
- layout
|
|
354
|
+
- layout
|
|
355
|
+
- list
|
|
356
|
+
- media
|
|
357
|
+
- paste
|
|
358
|
+
- rule
|
|
359
|
+
- table
|
|
360
|
+
- tasks-and-decisions
|
|
361
|
+
|
|
362
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
363
|
+
mandatory to be added to the preset.
|
|
282
364
|
|
|
283
365
|
## 0.6.0
|
|
284
366
|
|
|
285
367
|
### Minor Changes
|
|
286
368
|
|
|
287
|
-
-
|
|
369
|
+
- [#43139](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43139)
|
|
370
|
+
[`633ac70ce16`](https://bitbucket.org/atlassian/atlassian-frontend/commits/633ac70ce16) -
|
|
371
|
+
Removed floatingToolbarLinkSettingsButton feature flag
|
|
288
372
|
|
|
289
373
|
## 0.5.9
|
|
290
374
|
|
|
291
375
|
### Patch Changes
|
|
292
376
|
|
|
293
|
-
-
|
|
377
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
378
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
|
|
379
|
+
ED-20971 Upgrade adf-schema package to ^34.0.0
|
|
294
380
|
|
|
295
381
|
## 0.5.8
|
|
296
382
|
|
|
297
383
|
### Patch Changes
|
|
298
384
|
|
|
299
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
300
386
|
|
|
301
387
|
## 0.5.7
|
|
302
388
|
|
|
303
389
|
### Patch Changes
|
|
304
390
|
|
|
305
|
-
-
|
|
306
|
-
-
|
|
391
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
392
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
|
|
393
|
+
ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
394
|
+
- Updated dependencies
|
|
307
395
|
|
|
308
396
|
## 0.5.6
|
|
309
397
|
|
|
310
398
|
### Patch Changes
|
|
311
399
|
|
|
312
|
-
-
|
|
400
|
+
- [#42848](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42848)
|
|
401
|
+
[`f2f8428f703`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2f8428f703) -
|
|
402
|
+
Abandons feature flag lp-link-picker-focus-trap as it was not successfully rolled out. Will
|
|
403
|
+
re-introduce as platform feature flag as/when necessary.
|
|
313
404
|
|
|
314
405
|
## 0.5.5
|
|
315
406
|
|
|
316
407
|
### Patch Changes
|
|
317
408
|
|
|
318
|
-
-
|
|
409
|
+
- [#42680](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42680)
|
|
410
|
+
[`1174ff1745b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1174ff1745b) - Cleans
|
|
411
|
+
up ff platform.linking-platform.editor.fix-link-insert-analytics. No expected functional
|
|
412
|
+
changes.
|
|
319
413
|
|
|
320
414
|
## 0.5.4
|
|
321
415
|
|
|
322
416
|
### Patch Changes
|
|
323
417
|
|
|
324
|
-
-
|
|
418
|
+
- Updated dependencies
|
|
325
419
|
|
|
326
420
|
## 0.5.3
|
|
327
421
|
|
|
328
422
|
### Patch Changes
|
|
329
423
|
|
|
330
|
-
-
|
|
424
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
425
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) -
|
|
426
|
+
Connect yarn changeset to packages, upgrade adf-schema
|
|
331
427
|
|
|
332
428
|
## 0.5.2
|
|
333
429
|
|
|
334
430
|
### Patch Changes
|
|
335
431
|
|
|
336
|
-
-
|
|
432
|
+
- Updated dependencies
|
|
337
433
|
|
|
338
434
|
## 0.5.1
|
|
339
435
|
|
|
340
436
|
### Patch Changes
|
|
341
437
|
|
|
342
|
-
-
|
|
438
|
+
- [#40199](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40199)
|
|
439
|
+
[`553b34b5fd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/553b34b5fd4) - Small
|
|
440
|
+
analytics bug fixes relating to auto-linking on enter, legacy link picker, and unresolvable
|
|
441
|
+
links.
|
|
343
442
|
|
|
344
443
|
## 0.5.0
|
|
345
444
|
|
|
346
445
|
### Minor Changes
|
|
347
446
|
|
|
348
|
-
-
|
|
447
|
+
- [#40089](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40089)
|
|
448
|
+
[`9a62c110c14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a62c110c14) - [ux]
|
|
449
|
+
ECA11Y-65: Removed aria-pressed from the Hyperlink floating controls toolbar buttons
|
|
349
450
|
|
|
350
451
|
## 0.4.3
|
|
351
452
|
|
|
352
453
|
### Patch Changes
|
|
353
454
|
|
|
354
|
-
-
|
|
455
|
+
- Updated dependencies
|
|
355
456
|
|
|
356
457
|
## 0.4.2
|
|
357
458
|
|
|
358
459
|
### Patch Changes
|
|
359
460
|
|
|
360
|
-
-
|
|
361
|
-
|
|
461
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481)
|
|
462
|
+
[`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete
|
|
463
|
+
adf-schema from AFE and rely on npm package for adf-schema
|
|
464
|
+
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete
|
|
465
|
+
adf-schema, use published version
|
|
362
466
|
|
|
363
467
|
## 0.4.1
|
|
364
468
|
|
|
365
469
|
### Patch Changes
|
|
366
470
|
|
|
367
|
-
-
|
|
471
|
+
- Updated dependencies
|
|
368
472
|
|
|
369
473
|
## 0.4.0
|
|
370
474
|
|
|
371
475
|
### Minor Changes
|
|
372
476
|
|
|
373
|
-
-
|
|
477
|
+
- [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
|
|
478
|
+
[`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) -
|
|
479
|
+
Updating all plugins with minor version to correct issue with semver.
|
|
374
480
|
|
|
375
481
|
### Patch Changes
|
|
376
482
|
|
|
377
|
-
-
|
|
483
|
+
- Updated dependencies
|
|
378
484
|
|
|
379
485
|
## 0.3.5
|
|
380
486
|
|
|
381
487
|
### Patch Changes
|
|
382
488
|
|
|
383
|
-
-
|
|
384
|
-
|
|
489
|
+
- [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010)
|
|
490
|
+
[`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) -
|
|
491
|
+
Removing `dependencies` prop from PluginInjectionAPI and changing signature of
|
|
492
|
+
`NextEditorPlugin`.
|
|
385
493
|
|
|
386
|
-
|
|
494
|
+
Previously a `NextEditorPlugin` would be consumed as so:
|
|
387
495
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
496
|
+
```ts
|
|
497
|
+
const plugin: NextEditorPlugin< ... > = (config, api) => {
|
|
498
|
+
// Can use api like so:
|
|
499
|
+
api.dependencies.core.actions.execute( ... )
|
|
500
|
+
return { ... }
|
|
501
|
+
}
|
|
502
|
+
```
|
|
395
503
|
|
|
396
|
-
|
|
397
|
-
|
|
504
|
+
Now these have become named parameters like so and the `pluginInjectionAPI` is used without the
|
|
505
|
+
`dependencies` prop:
|
|
398
506
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
507
|
+
```ts
|
|
508
|
+
const plugin: NextEditorPlugin< ... > = ({ config, api }) => {
|
|
509
|
+
// Can use api like so:
|
|
510
|
+
api.core.actions.execute( ... )
|
|
511
|
+
return { ... }
|
|
512
|
+
}
|
|
513
|
+
```
|
|
406
514
|
|
|
407
|
-
-
|
|
515
|
+
- Updated dependencies
|
|
408
516
|
|
|
409
517
|
## 0.3.4
|
|
410
518
|
|
|
411
519
|
### Patch Changes
|
|
412
520
|
|
|
413
|
-
-
|
|
521
|
+
- [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
|
|
522
|
+
[`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
|
|
523
|
+
atlaskit docs to all existing plugins.
|
|
414
524
|
|
|
415
525
|
## 0.3.3
|
|
416
526
|
|
|
417
527
|
### Patch Changes
|
|
418
528
|
|
|
419
|
-
-
|
|
529
|
+
- [#38976](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38976)
|
|
530
|
+
[`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change
|
|
531
|
+
adf-schema to fixed versioning
|
|
420
532
|
|
|
421
533
|
## 0.3.2
|
|
422
534
|
|
|
423
535
|
### Patch Changes
|
|
424
536
|
|
|
425
|
-
-
|
|
426
|
-
-
|
|
537
|
+
- [#38495](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38495)
|
|
538
|
+
[`24fc3925d73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24fc3925d73) - Add a
|
|
539
|
+
new hook called `usePreset` accesed via `@atlaskit/editor-core/use-preset`. This hook can be
|
|
540
|
+
used to safely access state and commands from outside the editor using `EditorContext`.
|
|
541
|
+
- Updated dependencies
|
|
427
542
|
|
|
428
543
|
## 0.3.1
|
|
429
544
|
|
|
430
545
|
### Patch Changes
|
|
431
546
|
|
|
432
|
-
-
|
|
547
|
+
- Updated dependencies
|
|
433
548
|
|
|
434
549
|
## 0.3.0
|
|
435
550
|
|
|
436
551
|
### Minor Changes
|
|
437
552
|
|
|
438
|
-
-
|
|
553
|
+
- [#38001](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38001)
|
|
554
|
+
[`a675f834911`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a675f834911) -
|
|
555
|
+
Introduce `commands` optional parameter to `NextEditorPlugin`. It can be used similarly to
|
|
556
|
+
`actions` in `NextEditorPlugin` but `commands` must adhere to the type of `PluginCommand`:
|
|
439
557
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
558
|
+
```ts
|
|
559
|
+
type PluginCommand = ({ tr }: { tr: Transaction }) => Transaction | null;
|
|
560
|
+
```
|
|
443
561
|
|
|
444
|
-
|
|
562
|
+
`PluginCommand`s are specifically used for code that is executed to modify a Transaction. They
|
|
563
|
+
should be used in preference to the existing prosemirror `Command` type.
|
|
445
564
|
|
|
446
565
|
### Patch Changes
|
|
447
566
|
|
|
448
|
-
-
|
|
567
|
+
- Updated dependencies
|
|
449
568
|
|
|
450
569
|
## 0.2.4
|
|
451
570
|
|
|
452
571
|
### Patch Changes
|
|
453
572
|
|
|
454
|
-
-
|
|
573
|
+
- Updated dependencies
|
|
455
574
|
|
|
456
575
|
## 0.2.3
|
|
457
576
|
|
|
458
577
|
### Patch Changes
|
|
459
578
|
|
|
460
|
-
-
|
|
579
|
+
- Updated dependencies
|
|
461
580
|
|
|
462
581
|
## 0.2.2
|
|
463
582
|
|
|
464
583
|
### Patch Changes
|
|
465
584
|
|
|
466
|
-
-
|
|
467
|
-
-
|
|
585
|
+
- [#37650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37650)
|
|
586
|
+
[`d8c1bcdc71a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8c1bcdc71a) -
|
|
587
|
+
ED-19217 decoupled lists related util functions from editor-core
|
|
588
|
+
- Updated dependencies
|
|
468
589
|
|
|
469
590
|
## 0.2.1
|
|
470
591
|
|
|
471
592
|
### Patch Changes
|
|
472
593
|
|
|
473
|
-
-
|
|
594
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
|
|
595
|
+
[`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
|
|
596
|
+
[ED-19233] Import prosemirror libraries from internal facade package
|
|
474
597
|
|
|
475
598
|
## 0.2.0
|
|
476
599
|
|
|
477
600
|
### Minor Changes
|
|
478
601
|
|
|
479
|
-
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
602
|
+
- [#37010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37010)
|
|
603
|
+
[`8e084d87da5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e084d87da5) - Remove
|
|
604
|
+
deprecated hyperlink commands and plugin key including:
|
|
605
|
+
|
|
606
|
+
- isTextAtPos
|
|
607
|
+
- isLinkAtPos
|
|
608
|
+
- insertLink
|
|
609
|
+
- insertLinkWithAnalyticsMobileNative
|
|
610
|
+
- insertLinkWithAnalytics
|
|
611
|
+
- updateLink
|
|
612
|
+
- hyperlinkStateKey
|
|
613
|
+
|
|
614
|
+
If you require `isTextAtPos` or `isLinkAtPos` these can be accessed via `editor-common`:
|
|
615
|
+
|
|
616
|
+
```ts
|
|
617
|
+
import { isTextAtPos, isLinkAtPos } from '@atlaskit/editor-common/link`;
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
If you require `insertLink`, `updateLink`, or `hyperlinkStateKey` you can access these via the
|
|
621
|
+
new composable editor using a custom plugin. Here is an example:
|
|
622
|
+
|
|
623
|
+
```ts
|
|
624
|
+
import { Editor } from '@atlaskit/editor-core/composable-editor';
|
|
625
|
+
import { EditorProps } from '@atlaskit/editor-core';
|
|
626
|
+
import { useUniversalPreset } from '@atlaskit/editor-core/preset-universal';
|
|
627
|
+
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
628
|
+
import type { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
629
|
+
|
|
630
|
+
const customPlugin: NextEditorPlugin<'custom', {
|
|
631
|
+
dependencies: [typeof hyperlinkPlugin]
|
|
632
|
+
}> = (_, api) => {
|
|
633
|
+
// Can access insertLink and updateLink here
|
|
634
|
+
api?.dependencies.hyperlink.actions.insertLink( ... )
|
|
635
|
+
api?.dependencies.hyperlink.actions.updateLink( ... )
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
// Rather than using the `hyperlinkStateKey` you can access via `sharedState`
|
|
639
|
+
api?.dependencies.hyperlink.sharedState.onChange(({ nextSharedState }) => {
|
|
640
|
+
// subscribe to changes
|
|
641
|
+
})
|
|
642
|
+
// OR for current value
|
|
643
|
+
api?.dependencies.hyperlink.sharedState.currentState()
|
|
644
|
+
|
|
645
|
+
return {
|
|
646
|
+
name: 'custom'
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
// This function is the equivalent of `Editor` from `editor-core`
|
|
651
|
+
function EditorWrapped(props: EditorProps) {
|
|
652
|
+
const preset = useUniversalPreset(props).add(customPlugin)
|
|
653
|
+
return <Editor preset={preset} ... />
|
|
654
|
+
}
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
Note: By default `insertLink` via this interface is `insertLinkWithAnalytics`, however if you
|
|
658
|
+
want to disable analytics disable them via the `EditorProps` and if you want to run
|
|
659
|
+
`insertLinkWithAnalyticsMobileNative` pass `cardsAvailable` parameter as `false` (default).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-schema": "^35.12.
|
|
35
|
+
"@atlaskit/adf-schema": "^35.12.2",
|
|
36
36
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
37
|
-
"@atlaskit/editor-common": "^78.
|
|
37
|
+
"@atlaskit/editor-common": "^78.37.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "4.0.0",
|
|
40
40
|
"@atlaskit/icon": "^22.1.0",
|