@atlaskit/editor-plugin-hyperlink 10.0.9 → 10.0.10
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
|
@@ -275,12 +275,16 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
|
|
|
275
275
|
lpLinkPicker: lpLinkPicker,
|
|
276
276
|
displayUrl: _link,
|
|
277
277
|
displayText: displayText || '',
|
|
278
|
-
providerFactory: providerFactory
|
|
278
|
+
providerFactory: providerFactory
|
|
279
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
280
|
+
,
|
|
279
281
|
onCancel: function onCancel() {
|
|
280
282
|
return view.focus();
|
|
281
283
|
},
|
|
282
284
|
onEscapeCallback: (0, _commands.onEscapeCallback)(editorCardActions),
|
|
283
|
-
onClickAwayCallback: _commands.onClickAwayCallback
|
|
285
|
+
onClickAwayCallback: _commands.onClickAwayCallback
|
|
286
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
287
|
+
,
|
|
284
288
|
onSubmit: function onSubmit(href) {
|
|
285
289
|
var _toolbarKey$getState$, _toolbarKey$getState;
|
|
286
290
|
var title = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
@@ -260,10 +260,14 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
|
|
|
260
260
|
lpLinkPicker: lpLinkPicker,
|
|
261
261
|
displayUrl: link,
|
|
262
262
|
displayText: displayText || '',
|
|
263
|
-
providerFactory: providerFactory
|
|
263
|
+
providerFactory: providerFactory
|
|
264
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
265
|
+
,
|
|
264
266
|
onCancel: () => view.focus(),
|
|
265
267
|
onEscapeCallback: onEscapeCallback(editorCardActions),
|
|
266
|
-
onClickAwayCallback: onClickAwayCallback
|
|
268
|
+
onClickAwayCallback: onClickAwayCallback
|
|
269
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
270
|
+
,
|
|
267
271
|
onSubmit: (href, title = '', displayText, inputMethod, analytic) => {
|
|
268
272
|
var _toolbarKey$getState$, _toolbarKey$getState;
|
|
269
273
|
const isEdit = isEditLink(activeLinkMark);
|
|
@@ -266,12 +266,16 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
|
|
|
266
266
|
lpLinkPicker: lpLinkPicker,
|
|
267
267
|
displayUrl: _link,
|
|
268
268
|
displayText: displayText || '',
|
|
269
|
-
providerFactory: providerFactory
|
|
269
|
+
providerFactory: providerFactory
|
|
270
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
271
|
+
,
|
|
270
272
|
onCancel: function onCancel() {
|
|
271
273
|
return view.focus();
|
|
272
274
|
},
|
|
273
275
|
onEscapeCallback: onEscapeCallback(editorCardActions),
|
|
274
|
-
onClickAwayCallback: onClickAwayCallback
|
|
276
|
+
onClickAwayCallback: onClickAwayCallback
|
|
277
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
278
|
+
,
|
|
275
279
|
onSubmit: function onSubmit(href) {
|
|
276
280
|
var _toolbarKey$getState$, _toolbarKey$getState;
|
|
277
281
|
var title = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.10",
|
|
4
4
|
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/icon": "^33.0.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
47
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^44.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
51
51
|
"uuid": "^3.1.0"
|