@atlaskit/editor-plugin-hyperlink 1.6.5 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-plugin-hyperlink
2
2
 
3
+ ## 1.6.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
8
+ [`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
9
+ [ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
10
+
11
+ ## 1.6.6
12
+
13
+ ### Patch Changes
14
+
15
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
16
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
17
+ [ED-22282] Bump adf-schema to 36.1.0
18
+
3
19
  ## 1.6.5
4
20
 
5
21
  ### Patch Changes
@@ -207,11 +207,12 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
207
207
  title: labelUnlink,
208
208
  icon: _unlink.default,
209
209
  tabIndex: null
210
+ }, {
211
+ type: 'separator'
210
212
  }, {
211
213
  type: 'copy-button',
214
+ supportsViewMode: true,
212
215
  items: [{
213
- type: 'separator'
214
- }, {
215
216
  state: state,
216
217
  formatMessage: formatMessage,
217
218
  markType: state.schema.marks.link
@@ -181,11 +181,12 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
181
181
  title: labelUnlink,
182
182
  icon: UnlinkIcon,
183
183
  tabIndex: null
184
+ }, {
185
+ type: 'separator'
184
186
  }, {
185
187
  type: 'copy-button',
188
+ supportsViewMode: true,
186
189
  items: [{
187
- type: 'separator'
188
- }, {
189
190
  state,
190
191
  formatMessage: formatMessage,
191
192
  markType: state.schema.marks.link
@@ -199,11 +199,12 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
199
199
  title: labelUnlink,
200
200
  icon: UnlinkIcon,
201
201
  tabIndex: null
202
+ }, {
203
+ type: 'separator'
202
204
  }, {
203
205
  type: 'copy-button',
206
+ supportsViewMode: true,
204
207
  items: [{
205
- type: 'separator'
206
- }, {
207
208
  state: state,
208
209
  formatMessage: formatMessage,
209
210
  markType: state.schema.marks.link
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-hyperlink",
3
- "version": "1.6.5",
3
+ "version": "1.6.7",
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.2",
35
+ "@atlaskit/adf-schema": "^36.1.0",
36
36
  "@atlaskit/analytics-next": "^9.3.0",
37
- "@atlaskit/editor-common": "^79.1.0",
37
+ "@atlaskit/editor-common": "^79.4.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
39
39
  "@atlaskit/editor-prosemirror": "4.0.1",
40
40
  "@atlaskit/icon": "^22.1.0",