@atlaskit/editor-plugin-hyperlink 31.0.4 → 31.0.5
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-hyperlink
|
|
2
2
|
|
|
3
|
+
## 31.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`cf059694d5f47`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cf059694d5f47) -
|
|
8
|
+
Clean up experiment `confluence_quick_insert_embeds`. The `/link` quick-insert item priority is
|
|
9
|
+
back to its pre-experiment value (`1200`).
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 31.0.4
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -18,7 +18,6 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
18
18
|
var _link3 = _interopRequireDefault(require("@atlaskit/icon/core/link"));
|
|
19
19
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
20
20
|
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
21
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
22
21
|
var _commands = require("./editor-commands/commands");
|
|
23
22
|
var _fakeCursorForToolbar = _interopRequireDefault(require("./pm-plugins/fake-cursor-for-toolbar"));
|
|
24
23
|
var _inputRule = require("./pm-plugins/input-rule");
|
|
@@ -166,7 +165,7 @@ var hyperlinkPlugin = exports.hyperlinkPlugin = function hyperlinkPlugin(_ref) {
|
|
|
166
165
|
title: formatMessage(_insertBlock.toolbarInsertBlockMessages.link),
|
|
167
166
|
description: formatMessage(_insertBlock.toolbarInsertBlockMessages.linkDescription),
|
|
168
167
|
keywords: ['hyperlink', 'url'],
|
|
169
|
-
priority:
|
|
168
|
+
priority: 1200,
|
|
170
169
|
keyshortcut: (0, _keymaps.tooltip)(_keymaps.addLink),
|
|
171
170
|
icon: function icon() {
|
|
172
171
|
return /*#__PURE__*/_react.default.createElement(_assets.IconLink, null);
|
|
@@ -10,7 +10,6 @@ import { canLinkBeCreatedInRange } from '@atlaskit/editor-common/utils';
|
|
|
10
10
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
11
11
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
12
12
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
13
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
13
|
import { hideLinkToolbarSetMeta, insertLinkWithAnalytics, removeLinkEditorCommand, showLinkToolbar, updateLink, updateLinkEditorCommand } from './editor-commands/commands';
|
|
15
14
|
import fakeCursorToolbarPlugin from './pm-plugins/fake-cursor-for-toolbar';
|
|
16
15
|
import { createInputRulePlugin } from './pm-plugins/input-rule';
|
|
@@ -147,7 +146,7 @@ export const hyperlinkPlugin = ({
|
|
|
147
146
|
title: formatMessage(messages.link),
|
|
148
147
|
description: formatMessage(messages.linkDescription),
|
|
149
148
|
keywords: ['hyperlink', 'url'],
|
|
150
|
-
priority:
|
|
149
|
+
priority: 1200,
|
|
151
150
|
keyshortcut: tooltip(addLink),
|
|
152
151
|
icon: () => /*#__PURE__*/React.createElement(IconLink, null),
|
|
153
152
|
action(insert, state) {
|
|
@@ -13,7 +13,6 @@ import { canLinkBeCreatedInRange } from '@atlaskit/editor-common/utils';
|
|
|
13
13
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
14
14
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
15
15
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
16
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
17
16
|
import { hideLinkToolbarSetMeta, insertLinkWithAnalytics, removeLinkEditorCommand, showLinkToolbar as _showLinkToolbar, updateLink, updateLinkEditorCommand } from './editor-commands/commands';
|
|
18
17
|
import fakeCursorToolbarPlugin from './pm-plugins/fake-cursor-for-toolbar';
|
|
19
18
|
import { createInputRulePlugin } from './pm-plugins/input-rule';
|
|
@@ -159,7 +158,7 @@ export var hyperlinkPlugin = function hyperlinkPlugin(_ref) {
|
|
|
159
158
|
title: formatMessage(messages.link),
|
|
160
159
|
description: formatMessage(messages.linkDescription),
|
|
161
160
|
keywords: ['hyperlink', 'url'],
|
|
162
|
-
priority:
|
|
161
|
+
priority: 1200,
|
|
163
162
|
keyshortcut: tooltip(addLink),
|
|
164
163
|
icon: function icon() {
|
|
165
164
|
return /*#__PURE__*/React.createElement(IconLink, null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
-
"version": "31.0.
|
|
3
|
+
"version": "31.0.5",
|
|
4
4
|
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@atlaskit/adf-schema": "^57.7.0",
|
|
25
25
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^29.0.0",
|
|
27
|
-
"@atlaskit/editor-plugin-card": "^35.
|
|
27
|
+
"@atlaskit/editor-plugin-card": "^35.2.0",
|
|
28
28
|
"@atlaskit/editor-plugin-connectivity": "^29.0.0",
|
|
29
29
|
"@atlaskit/editor-plugin-editor-viewmode": "^31.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-primary-toolbar": "^30.0.0",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
42
42
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^246.
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^246.1.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1",
|
|
46
46
|
"uuid": "^11.1.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@atlaskit/editor-common": "^133.
|
|
49
|
+
"@atlaskit/editor-common": "^133.7.0",
|
|
50
50
|
"react": "^18.2.0 || ^19.2.0",
|
|
51
51
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
52
52
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|