@atlaskit/editor-presets 3.2.7 → 3.2.8
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
|
@@ -280,7 +280,10 @@ function confluenceFullPageBasePreset(props) {
|
|
|
280
280
|
options: pluginOptions.placeholderText
|
|
281
281
|
})]).add([_editorPluginLayout.layoutPlugin, (0, _layoutPluginOptions.layoutPluginOptions)({
|
|
282
282
|
options: pluginOptions.layout
|
|
283
|
-
})]).
|
|
283
|
+
})]).maybeAdd(
|
|
284
|
+
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
285
|
+
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
286
|
+
_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) && !((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true))).add([_editorPluginCard.cardPlugin, (0, _cardPluginOptions.cardPluginOptions)({
|
|
284
287
|
options: pluginOptions.card,
|
|
285
288
|
providers: providers
|
|
286
289
|
})]).add([_editorPluginCustomAutoformat.customAutoformatPlugin, (0, _customAutoformatPluginOptions.customAutoformatPluginOptions)({
|
|
@@ -300,9 +303,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
300
303
|
options: pluginOptions.findReplace
|
|
301
304
|
})], enabledOptionalPlugins.findReplace).add(_editorPluginBorder.borderPlugin).add(_editorPluginFragment.fragmentPlugin).add([_editorPluginPasteOptionsToolbar.pasteOptionsToolbarPlugin, {
|
|
302
305
|
usePopupBasedPasteActionsMenu: false
|
|
303
|
-
}]).maybeAdd(
|
|
304
|
-
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
305
|
-
_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) && !((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true))).maybeAdd([_editorPluginCodeBidiWarning.codeBidiWarningPlugin, (0, _codeBidiWarningPluginOptions.codeBidiWarningPluginOptions)({
|
|
306
|
+
}]).maybeAdd([_editorPluginCodeBidiWarning.codeBidiWarningPlugin, (0, _codeBidiWarningPluginOptions.codeBidiWarningPluginOptions)({
|
|
306
307
|
options: pluginOptions.codeBidiWarning
|
|
307
308
|
})], !(0, _expValEquals.expValEquals)('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([_editorPluginLoom.loomPlugin, (0, _loomPluginOptions.loomPluginOptions)({
|
|
308
309
|
options: pluginOptions.loom
|
|
@@ -276,7 +276,10 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
276
276
|
options: pluginOptions.placeholderText
|
|
277
277
|
})]).add([layoutPlugin, layoutPluginOptions({
|
|
278
278
|
options: pluginOptions.layout
|
|
279
|
-
})]).
|
|
279
|
+
})]).maybeAdd(
|
|
280
|
+
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
281
|
+
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
282
|
+
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true))).add([cardPlugin, cardPluginOptions({
|
|
280
283
|
options: pluginOptions.card,
|
|
281
284
|
providers
|
|
282
285
|
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
|
@@ -296,9 +299,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
296
299
|
options: pluginOptions.findReplace
|
|
297
300
|
})], enabledOptionalPlugins.findReplace).add(borderPlugin).add(fragmentPlugin).add([pasteOptionsToolbarPlugin, {
|
|
298
301
|
usePopupBasedPasteActionsMenu: false
|
|
299
|
-
}]).maybeAdd(
|
|
300
|
-
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
301
|
-
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true))).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
302
|
+
}]).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
302
303
|
options: pluginOptions.codeBidiWarning
|
|
303
304
|
})], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([loomPlugin, loomPluginOptions({
|
|
304
305
|
options: pluginOptions.loom
|
|
@@ -274,7 +274,10 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
274
274
|
options: pluginOptions.placeholderText
|
|
275
275
|
})]).add([layoutPlugin, layoutPluginOptions({
|
|
276
276
|
options: pluginOptions.layout
|
|
277
|
-
})]).
|
|
277
|
+
})]).maybeAdd(
|
|
278
|
+
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
279
|
+
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
280
|
+
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true))).add([cardPlugin, cardPluginOptions({
|
|
278
281
|
options: pluginOptions.card,
|
|
279
282
|
providers: providers
|
|
280
283
|
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
|
@@ -294,9 +297,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
294
297
|
options: pluginOptions.findReplace
|
|
295
298
|
})], enabledOptionalPlugins.findReplace).add(borderPlugin).add(fragmentPlugin).add([pasteOptionsToolbarPlugin, {
|
|
296
299
|
usePopupBasedPasteActionsMenu: false
|
|
297
|
-
}]).maybeAdd(
|
|
298
|
-
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
299
|
-
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true))).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
300
|
+
}]).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
300
301
|
options: pluginOptions.codeBidiWarning
|
|
301
302
|
})], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([loomPlugin, loomPluginOptions({
|
|
302
303
|
options: pluginOptions.loom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
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": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/editor-plugin-border": "^10.1.0",
|
|
44
44
|
"@atlaskit/editor-plugin-breakout": "^10.2.0",
|
|
45
45
|
"@atlaskit/editor-plugin-caption": "^10.1.0",
|
|
46
|
-
"@atlaskit/editor-plugin-card": "^16.
|
|
46
|
+
"@atlaskit/editor-plugin-card": "^16.11.0",
|
|
47
47
|
"@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^10.1.0",
|
|
48
48
|
"@atlaskit/editor-plugin-clipboard": "^10.1.0",
|
|
49
49
|
"@atlaskit/editor-plugin-code-bidi-warning": "^10.1.0",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"@atlaskit/editor-plugin-loom": "^12.1.0",
|
|
89
89
|
"@atlaskit/editor-plugin-media": "^12.9.0",
|
|
90
90
|
"@atlaskit/editor-plugin-media-insert": "^23.3.0",
|
|
91
|
-
"@atlaskit/editor-plugin-mentions": "^12.
|
|
91
|
+
"@atlaskit/editor-plugin-mentions": "^12.3.0",
|
|
92
92
|
"@atlaskit/editor-plugin-metrics": "^11.1.0",
|
|
93
93
|
"@atlaskit/editor-plugin-panel": "^12.2.0",
|
|
94
94
|
"@atlaskit/editor-plugin-paste": "^11.2.0",
|
|
95
|
-
"@atlaskit/editor-plugin-paste-options-toolbar": "^11.
|
|
95
|
+
"@atlaskit/editor-plugin-paste-options-toolbar": "^11.4.0",
|
|
96
96
|
"@atlaskit/editor-plugin-placeholder": "^10.2.0",
|
|
97
97
|
"@atlaskit/editor-plugin-placeholder-text": "^11.1.0",
|
|
98
98
|
"@atlaskit/editor-plugin-primary-toolbar": "^11.1.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@atlaskit/editor-plugin-show-diff": "^8.4.0",
|
|
107
107
|
"@atlaskit/editor-plugin-status": "^11.1.0",
|
|
108
108
|
"@atlaskit/editor-plugin-submit-editor": "^10.1.0",
|
|
109
|
-
"@atlaskit/editor-plugin-synced-block": "^8.
|
|
109
|
+
"@atlaskit/editor-plugin-synced-block": "^8.5.0",
|
|
110
110
|
"@atlaskit/editor-plugin-table": "^22.4.0",
|
|
111
111
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^13.3.0",
|
|
112
112
|
"@atlaskit/editor-plugin-text-color": "^10.1.0",
|
|
@@ -123,12 +123,12 @@
|
|
|
123
123
|
"@atlaskit/editor-plugin-user-preferences": "^8.2.0",
|
|
124
124
|
"@atlaskit/editor-plugin-width": "^11.1.0",
|
|
125
125
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
126
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
126
|
+
"@atlaskit/tmp-editor-statsig": "^86.0.0",
|
|
127
127
|
"@atlassian/editor-plugin-agent-managed-extension": "^0.2.0",
|
|
128
128
|
"@babel/runtime": "^7.0.0"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
|
-
"@atlaskit/editor-common": "^114.
|
|
131
|
+
"@atlaskit/editor-common": "^114.54.0",
|
|
132
132
|
"react": "^18.2.0",
|
|
133
133
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
134
134
|
},
|