@atlaskit/editor-plugin-card 0.16.0 → 0.16.1
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,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 0.16.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#66364](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66364) [`212c782cb7a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/212c782cb7a6) - No longer require `cardOptions` to be passed to the hyperlink plugin configuration, it exposes a new optional way to skip analytics via the prependToolbarButtons action.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 0.16.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -53,7 +53,8 @@ var mountHyperlinkPlugin = exports.mountHyperlinkPlugin = function mountHyperlin
|
|
|
53
53
|
},
|
|
54
54
|
onEscapeCallback: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions.hideLinkToolbar,
|
|
55
55
|
onInsertLinkCallback: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions.queueCardsFromChangedTr,
|
|
56
|
-
view: editorView
|
|
56
|
+
view: editorView,
|
|
57
|
+
skipAnalytics: true
|
|
57
58
|
});
|
|
58
59
|
});
|
|
59
60
|
return {};
|
|
@@ -41,7 +41,8 @@ export const mountHyperlinkPlugin = (pluginInjectionApi, options) => {
|
|
|
41
41
|
}],
|
|
42
42
|
onEscapeCallback: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions.hideLinkToolbar,
|
|
43
43
|
onInsertLinkCallback: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions.queueCardsFromChangedTr,
|
|
44
|
-
view: editorView
|
|
44
|
+
view: editorView,
|
|
45
|
+
skipAnalytics: true
|
|
45
46
|
});
|
|
46
47
|
});
|
|
47
48
|
return {};
|
|
@@ -46,7 +46,8 @@ export var mountHyperlinkPlugin = function mountHyperlinkPlugin(pluginInjectionA
|
|
|
46
46
|
},
|
|
47
47
|
onEscapeCallback: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions.hideLinkToolbar,
|
|
48
48
|
onInsertLinkCallback: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions.queueCardsFromChangedTr,
|
|
49
|
-
view: editorView
|
|
49
|
+
view: editorView,
|
|
50
|
+
skipAnalytics: true
|
|
50
51
|
});
|
|
51
52
|
});
|
|
52
53
|
return {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^35.3.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
37
37
|
"@atlaskit/custom-steps": "^0.0.11",
|
|
38
|
-
"@atlaskit/editor-common": "^76.
|
|
38
|
+
"@atlaskit/editor-common": "^76.37.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^0.4.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
41
41
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-floating-toolbar": "^0.7.0",
|
|
43
43
|
"@atlaskit/editor-plugin-grid": "^0.3.0",
|
|
44
|
-
"@atlaskit/editor-plugin-hyperlink": "^0.
|
|
44
|
+
"@atlaskit/editor-plugin-hyperlink": "^0.8.0",
|
|
45
45
|
"@atlaskit/editor-plugin-width": "^0.2.0",
|
|
46
46
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
47
47
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|