@atlaskit/editor-plugin-hyperlink 2.9.7 → 2.9.8
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 +8 -0
- package/dist/cjs/Toolbar.js +1 -1
- package/dist/es2019/Toolbar.js +1 -1
- package/dist/esm/Toolbar.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-hyperlink
|
|
2
2
|
|
|
3
|
+
## 2.9.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1269ffa635367`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1269ffa635367) -
|
|
8
|
+
Cleanup FF platform_editor_get_card_provider_from_config
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 2.9.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/Toolbar.js
CHANGED
|
@@ -156,7 +156,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
|
|
|
156
156
|
metadata.title = activeLinkMark.node.text;
|
|
157
157
|
}
|
|
158
158
|
var cardActions = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c2 = pluginInjectionApi.card) === null || _pluginInjectionApi$c2 === void 0 ? void 0 : _pluginInjectionApi$c2.actions;
|
|
159
|
-
var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link,
|
|
159
|
+
var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, (0, _commands.editInsertedLink)(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
|
|
160
160
|
id: 'editor.link.edit',
|
|
161
161
|
testId: 'editor.link.edit',
|
|
162
162
|
type: 'button',
|
package/dist/es2019/Toolbar.js
CHANGED
|
@@ -140,7 +140,7 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
|
|
|
140
140
|
metadata.title = activeLinkMark.node.text;
|
|
141
141
|
}
|
|
142
142
|
const cardActions = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$c2 = pluginInjectionApi.card) === null || _pluginInjectionApi$c2 === void 0 ? void 0 : _pluginInjectionApi$c2.actions;
|
|
143
|
-
const startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link,
|
|
143
|
+
const startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, editInsertedLink(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
|
|
144
144
|
id: 'editor.link.edit',
|
|
145
145
|
testId: 'editor.link.edit',
|
|
146
146
|
type: 'button',
|
package/dist/esm/Toolbar.js
CHANGED
|
@@ -148,7 +148,7 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
|
|
|
148
148
|
metadata.title = activeLinkMark.node.text;
|
|
149
149
|
}
|
|
150
150
|
var cardActions = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c2 = pluginInjectionApi.card) === null || _pluginInjectionApi$c2 === void 0 ? void 0 : _pluginInjectionApi$c2.actions;
|
|
151
|
-
var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link,
|
|
151
|
+
var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, editInsertedLink(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
|
|
152
152
|
id: 'editor.link.edit',
|
|
153
153
|
testId: 'editor.link.edit',
|
|
154
154
|
type: 'button',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.8",
|
|
4
4
|
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
36
36
|
"@atlaskit/editor-common": "^88.12.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
|
38
|
-
"@atlaskit/editor-plugin-card": "2.15.
|
|
38
|
+
"@atlaskit/editor-plugin-card": "2.15.2",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
41
41
|
"@atlaskit/icon": "^22.16.0",
|