@atlaskit/editor-plugin-card 0.5.2 → 0.5.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 +6 -0
- package/dist/cjs/toolbar.js +2 -1
- package/dist/es2019/toolbar.js +2 -1
- package/dist/esm/toolbar.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/toolbar.js
CHANGED
|
@@ -352,7 +352,8 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(state, metadata
|
|
|
352
352
|
metadata: metadata,
|
|
353
353
|
className: 'datasource-edit',
|
|
354
354
|
title: intl.formatMessage(_messages.linkToolbarMessages.editDatasource),
|
|
355
|
-
onClick: (0, _EditLinkToolbar.editDatasource)(node, editorAnalyticsApi)
|
|
355
|
+
onClick: (0, _EditLinkToolbar.editDatasource)(node, editorAnalyticsApi),
|
|
356
|
+
testId: 'datasource-edit-button'
|
|
356
357
|
}];
|
|
357
358
|
if (node !== null && node !== void 0 && (_node$attrs3 = node.attrs) !== null && _node$attrs3 !== void 0 && _node$attrs3.url) {
|
|
358
359
|
toolbarItems.push({
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -345,7 +345,8 @@ const getDatasourceButtonGroup = (state, metadata, intl, editorAnalyticsApi, nod
|
|
|
345
345
|
metadata: metadata,
|
|
346
346
|
className: 'datasource-edit',
|
|
347
347
|
title: intl.formatMessage(linkToolbarMessages.editDatasource),
|
|
348
|
-
onClick: editDatasource(node, editorAnalyticsApi)
|
|
348
|
+
onClick: editDatasource(node, editorAnalyticsApi),
|
|
349
|
+
testId: 'datasource-edit-button'
|
|
349
350
|
}];
|
|
350
351
|
if (node !== null && node !== void 0 && (_node$attrs3 = node.attrs) !== null && _node$attrs3 !== void 0 && _node$attrs3.url) {
|
|
351
352
|
toolbarItems.push({
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -338,7 +338,8 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(state, metadata
|
|
|
338
338
|
metadata: metadata,
|
|
339
339
|
className: 'datasource-edit',
|
|
340
340
|
title: intl.formatMessage(linkToolbarMessages.editDatasource),
|
|
341
|
-
onClick: editDatasource(node, editorAnalyticsApi)
|
|
341
|
+
onClick: editDatasource(node, editorAnalyticsApi),
|
|
342
|
+
testId: 'datasource-edit-button'
|
|
342
343
|
}];
|
|
343
344
|
if (node !== null && node !== void 0 && (_node$attrs3 = node.attrs) !== null && _node$attrs3 !== void 0 && _node$attrs3.url) {
|
|
344
345
|
toolbarItems.push({
|