@atlaskit/editor-presets 24.3.4 → 24.4.0
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 +20 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +1 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +1 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +1 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +1 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +1 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +1 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +1 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +1 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +1 -0
- package/dist/types/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +1 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +1 -0
- package/dist/types/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +1 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 24.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`059477aa93f45`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/059477aa93f45) -
|
|
8
|
+
Add an optimistic-toolbar opt-out to plugin configuration. Exclude Live pages from
|
|
9
|
+
platform_editor_ssr_toolbar_optimistic, including early editor-state exposure, toolbar rendering,
|
|
10
|
+
and asynchronous media and mention provider initialization. Preserve the experiment for Edit pages
|
|
11
|
+
regardless of toolbar docking position.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 24.3.5
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 24.3.4
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -7,6 +7,7 @@ exports.insertBlockPluginOptions = insertBlockPluginOptions;
|
|
|
7
7
|
function insertBlockPluginOptions(_ref) {
|
|
8
8
|
var options = _ref.options;
|
|
9
9
|
return {
|
|
10
|
+
disableOptimisticToolbar: options.disableOptimisticToolbar,
|
|
10
11
|
allowTables: true,
|
|
11
12
|
allowExpand: true,
|
|
12
13
|
horizontalRuleEnabled: true,
|
package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js
CHANGED
|
@@ -14,6 +14,7 @@ function mediaPluginOptions(_ref) {
|
|
|
14
14
|
options = _ref.options,
|
|
15
15
|
providers = _ref.providers;
|
|
16
16
|
return {
|
|
17
|
+
disableOptimisticToolbar: options.disableOptimisticToolbar,
|
|
17
18
|
// SECTION: From confluence/next/packages/editor-features/src/utils/mediaOptions.ts
|
|
18
19
|
provider: providers.mediaProvider,
|
|
19
20
|
syncProvider: providers.syncMediaProvider,
|
|
@@ -8,6 +8,7 @@ function mentionsPluginOptions(_ref) {
|
|
|
8
8
|
var options = _ref.options,
|
|
9
9
|
providers = _ref.providers;
|
|
10
10
|
return {
|
|
11
|
+
disableOptimisticToolbar: options.disableOptimisticToolbar,
|
|
11
12
|
agentSectionLozenge: options.agentSectionLozenge,
|
|
12
13
|
sanitizePrivateContent: true,
|
|
13
14
|
insertDisplayName: true,
|
package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js
CHANGED
|
@@ -9,6 +9,7 @@ export function mediaPluginOptions({
|
|
|
9
9
|
providers
|
|
10
10
|
}) {
|
|
11
11
|
return {
|
|
12
|
+
disableOptimisticToolbar: options.disableOptimisticToolbar,
|
|
12
13
|
// SECTION: From confluence/next/packages/editor-features/src/utils/mediaOptions.ts
|
|
13
14
|
provider: providers.mediaProvider,
|
|
14
15
|
syncProvider: providers.syncMediaProvider,
|
package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js
CHANGED
|
@@ -8,6 +8,7 @@ export function mediaPluginOptions(_ref) {
|
|
|
8
8
|
options = _ref.options,
|
|
9
9
|
providers = _ref.providers;
|
|
10
10
|
return {
|
|
11
|
+
disableOptimisticToolbar: options.disableOptimisticToolbar,
|
|
11
12
|
// SECTION: From confluence/next/packages/editor-features/src/utils/mediaOptions.ts
|
|
12
13
|
provider: providers.mediaProvider,
|
|
13
14
|
syncProvider: providers.syncMediaProvider,
|
|
@@ -2,6 +2,7 @@ export function mentionsPluginOptions(_ref) {
|
|
|
2
2
|
var options = _ref.options,
|
|
3
3
|
providers = _ref.providers;
|
|
4
4
|
return {
|
|
5
|
+
disableOptimisticToolbar: options.disableOptimisticToolbar,
|
|
5
6
|
agentSectionLozenge: options.agentSectionLozenge,
|
|
6
7
|
sanitizePrivateContent: true,
|
|
7
8
|
insertDisplayName: true,
|
|
@@ -2,6 +2,7 @@ import type { InsertBlockPluginOptions } from '@atlaskit/editor-plugin-insert-bl
|
|
|
2
2
|
import type { FullPageEditorAppearance } from '../types';
|
|
3
3
|
interface Props {
|
|
4
4
|
options: {
|
|
5
|
+
disableOptimisticToolbar?: InsertBlockPluginOptions['disableOptimisticToolbar'];
|
|
5
6
|
editorAppearance: FullPageEditorAppearance;
|
|
6
7
|
toolbarButtons: InsertBlockPluginOptions['toolbarButtons'];
|
|
7
8
|
};
|
|
@@ -6,6 +6,7 @@ interface Props {
|
|
|
6
6
|
intl: IntlShape;
|
|
7
7
|
options: {
|
|
8
8
|
createCommentExperience: MediaPluginOptions['createCommentExperience'];
|
|
9
|
+
disableOptimisticToolbar?: MediaPluginOptions['disableOptimisticToolbar'];
|
|
9
10
|
editorAppearance: FullPageEditorAppearance;
|
|
10
11
|
mediaViewerExtensions: MediaPluginOptions['mediaViewerExtensions'];
|
|
11
12
|
onMediaRenderEvent?: MediaPluginOptions['onMediaRenderEvent'];
|
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
options: {
|
|
6
6
|
agentSectionLozenge?: MentionsPluginOptions['agentSectionLozenge'];
|
|
7
7
|
currentUserId?: string;
|
|
8
|
+
disableOptimisticToolbar?: MentionsPluginOptions['disableOptimisticToolbar'];
|
|
8
9
|
enableAgentSectioning?: boolean;
|
|
9
10
|
getIsRovoPanelOpen?: () => boolean;
|
|
10
11
|
handleMentionsChanged: MentionsChangedHandler;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.4.0",
|
|
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": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@atlaskit/editor-plugin-history": "^30.0.0",
|
|
71
71
|
"@atlaskit/editor-plugin-hyperlink": "^32.0.0",
|
|
72
72
|
"@atlaskit/editor-plugin-indentation": "^30.0.0",
|
|
73
|
-
"@atlaskit/editor-plugin-insert-block": "^31.
|
|
73
|
+
"@atlaskit/editor-plugin-insert-block": "^31.1.0",
|
|
74
74
|
"@atlaskit/editor-plugin-interaction": "^44.0.0",
|
|
75
75
|
"@atlaskit/editor-plugin-interactivity": "^15.0.0",
|
|
76
76
|
"@atlaskit/editor-plugin-layout": "^31.0.0",
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"@atlaskit/editor-plugin-list": "^32.0.0",
|
|
79
79
|
"@atlaskit/editor-plugin-local-id": "^28.0.0",
|
|
80
80
|
"@atlaskit/editor-plugin-loom": "^32.0.0",
|
|
81
|
-
"@atlaskit/editor-plugin-media": "^32.
|
|
81
|
+
"@atlaskit/editor-plugin-media": "^32.3.0",
|
|
82
82
|
"@atlaskit/editor-plugin-media-insert": "^48.0.0",
|
|
83
|
-
"@atlaskit/editor-plugin-mentions": "^32.
|
|
83
|
+
"@atlaskit/editor-plugin-mentions": "^32.2.0",
|
|
84
84
|
"@atlaskit/editor-plugin-metrics": "^31.0.0",
|
|
85
85
|
"@atlaskit/editor-plugin-panel": "^32.0.0",
|
|
86
|
-
"@atlaskit/editor-plugin-paste": "^31.
|
|
86
|
+
"@atlaskit/editor-plugin-paste": "^31.2.0",
|
|
87
87
|
"@atlaskit/editor-plugin-paste-options-toolbar": "^31.0.0",
|
|
88
88
|
"@atlaskit/editor-plugin-placeholder": "^30.0.0",
|
|
89
89
|
"@atlaskit/editor-plugin-placeholder-text": "^31.0.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@atlaskit/editor-plugin-table": "^42.3.0",
|
|
103
103
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^33.0.0",
|
|
104
104
|
"@atlaskit/editor-plugin-text-color": "^30.0.0",
|
|
105
|
-
"@atlaskit/editor-plugin-text-formatting": "^
|
|
105
|
+
"@atlaskit/editor-plugin-text-formatting": "^31.0.0",
|
|
106
106
|
"@atlaskit/editor-plugin-toolbar": "^27.0.0",
|
|
107
107
|
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^31.0.0",
|
|
108
108
|
"@atlaskit/editor-plugin-track-changes": "^29.0.0",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"@atlaskit/emoji": "^73.4.0",
|
|
118
118
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
119
119
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
120
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
120
|
+
"@atlaskit/tmp-editor-statsig": "^260.0.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^20.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
|
-
"@atlaskit/editor-common": "^134.
|
|
125
|
+
"@atlaskit/editor-common": "^134.9.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
|
},
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
|
-
"@atlaskit/editor-common": "^134.
|
|
144
|
+
"@atlaskit/editor-common": "^134.9.0",
|
|
145
145
|
"react": "^19.2.0",
|
|
146
146
|
"react-intl": "^7.0.0"
|
|
147
147
|
}
|