@atlaskit/editor-presets 20.0.1 → 20.0.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 +16 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +3 -1
- package/dist/es2019/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +3 -1
- package/dist/esm/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +3 -1
- package/dist/types/confluence-full-page-base/types.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 20.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 20.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`a4adb021ec6f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4adb021ec6f2) -
|
|
14
|
+
Add `enableCopyLinkToSelection` block menu option (default `false`) so the "Copy link" item and
|
|
15
|
+
its keyboard shortcut are opt-in per editor preset, and enable it for Confluence presets. The
|
|
16
|
+
option is only respected behind the `platform_editor_block_menu_copy_link_opt_in` feature gate
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 20.0.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -23,6 +23,8 @@ function blockMenuPluginOptions(_ref) {
|
|
|
23
23
|
var options = _ref.options;
|
|
24
24
|
return {
|
|
25
25
|
getLinkPath: options.getLinkPath,
|
|
26
|
-
blockLinkHashPrefix: options.blockLinkHashPrefix
|
|
26
|
+
blockLinkHashPrefix: options.blockLinkHashPrefix,
|
|
27
|
+
// Confluence assigns block localIds and handles block link hashes, so Copy link is supported
|
|
28
|
+
enableCopyLinkToSelection: true
|
|
27
29
|
};
|
|
28
30
|
}
|
|
@@ -18,6 +18,8 @@ export function blockMenuPluginOptions({
|
|
|
18
18
|
}) {
|
|
19
19
|
return {
|
|
20
20
|
getLinkPath: options.getLinkPath,
|
|
21
|
-
blockLinkHashPrefix: options.blockLinkHashPrefix
|
|
21
|
+
blockLinkHashPrefix: options.blockLinkHashPrefix,
|
|
22
|
+
// Confluence assigns block localIds and handles block link hashes, so Copy link is supported
|
|
23
|
+
enableCopyLinkToSelection: true
|
|
22
24
|
};
|
|
23
25
|
}
|
|
@@ -17,6 +17,8 @@ export function blockMenuPluginOptions(_ref) {
|
|
|
17
17
|
var options = _ref.options;
|
|
18
18
|
return {
|
|
19
19
|
getLinkPath: options.getLinkPath,
|
|
20
|
-
blockLinkHashPrefix: options.blockLinkHashPrefix
|
|
20
|
+
blockLinkHashPrefix: options.blockLinkHashPrefix,
|
|
21
|
+
// Confluence assigns block localIds and handles block link hashes, so Copy link is supported
|
|
22
|
+
enableCopyLinkToSelection: true
|
|
21
23
|
};
|
|
22
24
|
}
|
|
@@ -97,7 +97,7 @@ import type { UnsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupport
|
|
|
97
97
|
import type { UserIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
|
|
98
98
|
import type { UserPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
|
|
99
99
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
100
|
-
import type { EmojiProvider } from '@atlaskit/emoji';
|
|
100
|
+
import type { EmojiProvider } from '@atlaskit/emoji/types';
|
|
101
101
|
import type { MentionProvider } from '@atlaskit/mention/types';
|
|
102
102
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
|
|
103
103
|
import type { AgentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^26.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-better-type-history": "^26.0.0",
|
|
32
32
|
"@atlaskit/editor-plugin-block-controls": "^27.0.0",
|
|
33
|
-
"@atlaskit/editor-plugin-block-menu": "^25.
|
|
33
|
+
"@atlaskit/editor-plugin-block-menu": "^25.1.0",
|
|
34
34
|
"@atlaskit/editor-plugin-block-type": "^30.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-border": "^26.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-breakout": "^26.0.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/editor-plugin-loom": "^28.0.0",
|
|
81
81
|
"@atlaskit/editor-plugin-media": "^28.0.0",
|
|
82
82
|
"@atlaskit/editor-plugin-media-insert": "^44.0.0",
|
|
83
|
-
"@atlaskit/editor-plugin-mentions": "^28.
|
|
83
|
+
"@atlaskit/editor-plugin-mentions": "^28.1.0",
|
|
84
84
|
"@atlaskit/editor-plugin-metrics": "^27.0.0",
|
|
85
85
|
"@atlaskit/editor-plugin-panel": "^28.0.0",
|
|
86
86
|
"@atlaskit/editor-plugin-paste": "^27.0.0",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@atlaskit/editor-plugin-selection-extension": "^29.0.0",
|
|
96
96
|
"@atlaskit/editor-plugin-selection-marker": "^26.0.0",
|
|
97
97
|
"@atlaskit/editor-plugin-selection-toolbar": "^27.0.0",
|
|
98
|
-
"@atlaskit/editor-plugin-show-diff": "^24.
|
|
98
|
+
"@atlaskit/editor-plugin-show-diff": "^24.1.0",
|
|
99
99
|
"@atlaskit/editor-plugin-status": "^27.0.0",
|
|
100
100
|
"@atlaskit/editor-plugin-submit-editor": "^26.0.0",
|
|
101
101
|
"@atlaskit/editor-plugin-synced-block": "^24.0.0",
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^27.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
118
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
119
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
120
120
|
"@atlassian/ari": "^3.19.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^16.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
|
-
"@atlaskit/editor-common": "^130.
|
|
125
|
+
"@atlaskit/editor-common": "^130.3.0",
|
|
126
126
|
"react": "^18.2.0 || ^19.2.0",
|
|
127
127
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
128
128
|
},
|