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