@atlaskit/editor-core 210.1.1 → 210.1.2
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 +6 -0
- package/dist/cjs/presets/universal.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +2 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/presets/universal.d.ts +3 -0
- package/dist/types-ts4.5/presets/universal.d.ts +3 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -226,7 +226,7 @@ function createUniversalPresetInternal(_ref) {
|
|
|
226
226
|
}], Boolean(props.allowStatus)).maybeAdd(_indentation.indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(_scrollIntoView.scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([_toolbarListsIndentation.toolbarListsIndentationPlugin, {
|
|
227
227
|
showIndentationButtons: !!props.showIndentationButtons,
|
|
228
228
|
allowHeadingAndParagraphIndentation: !!props.allowIndentation
|
|
229
|
-
}]).add([_insertBlock.insertBlockPlugin, {
|
|
229
|
+
}]).add([_insertBlock.insertBlockPlugin, _objectSpread({
|
|
230
230
|
allowTables: !!props.allowTables,
|
|
231
231
|
allowExpand: isExpandInsertionEnabled(props),
|
|
232
232
|
insertMenuItems: props.insertMenuItems,
|
|
@@ -235,7 +235,7 @@ function createUniversalPresetInternal(_ref) {
|
|
|
235
235
|
nativeStatusSupported: !statusMenuDisabled,
|
|
236
236
|
showElementBrowserLink: props.elementBrowser && props.elementBrowser.showModal || false,
|
|
237
237
|
appearance: appearance
|
|
238
|
-
}]).maybeAdd([_beforePrimaryToolbar.beforePrimaryToolbarPlugin, {
|
|
238
|
+
}, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.insertBlockPlugin)]).maybeAdd([_beforePrimaryToolbar.beforePrimaryToolbarPlugin, {
|
|
239
239
|
beforePrimaryToolbarComponents: // @ts-expect-error 2339: Property 'before' does not exist on type 'PrimaryToolbarComponents'.
|
|
240
240
|
(_props$primaryToolbar = props.primaryToolbarComponents) === null || _props$primaryToolbar === void 0 ? void 0 : _props$primaryToolbar.before
|
|
241
241
|
}], Boolean(hasBeforePrimaryToolbar(props.primaryToolbarComponents) && !featureFlags.twoLineEditorToolbar)).add([_avatarGroup.avatarGroupPlugin, {
|
|
@@ -234,7 +234,8 @@ export default function createUniversalPresetInternal({
|
|
|
234
234
|
tableSelectorSupported: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableSelector) && isFullPage,
|
|
235
235
|
nativeStatusSupported: !statusMenuDisabled,
|
|
236
236
|
showElementBrowserLink: props.elementBrowser && props.elementBrowser.showModal || false,
|
|
237
|
-
appearance
|
|
237
|
+
appearance,
|
|
238
|
+
...(initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.insertBlockPlugin)
|
|
238
239
|
}]).maybeAdd([beforePrimaryToolbarPlugin, {
|
|
239
240
|
beforePrimaryToolbarComponents: // @ts-expect-error 2339: Property 'before' does not exist on type 'PrimaryToolbarComponents'.
|
|
240
241
|
(_props$primaryToolbar = props.primaryToolbarComponents) === null || _props$primaryToolbar === void 0 ? void 0 : _props$primaryToolbar.before
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "210.1.
|
|
2
|
+
export const version = "210.1.1";
|
|
@@ -219,7 +219,7 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
219
219
|
}], Boolean(props.allowStatus)).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
|
|
220
220
|
showIndentationButtons: !!props.showIndentationButtons,
|
|
221
221
|
allowHeadingAndParagraphIndentation: !!props.allowIndentation
|
|
222
|
-
}]).add([insertBlockPlugin, {
|
|
222
|
+
}]).add([insertBlockPlugin, _objectSpread({
|
|
223
223
|
allowTables: !!props.allowTables,
|
|
224
224
|
allowExpand: isExpandInsertionEnabled(props),
|
|
225
225
|
insertMenuItems: props.insertMenuItems,
|
|
@@ -228,7 +228,7 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
228
228
|
nativeStatusSupported: !statusMenuDisabled,
|
|
229
229
|
showElementBrowserLink: props.elementBrowser && props.elementBrowser.showModal || false,
|
|
230
230
|
appearance: appearance
|
|
231
|
-
}]).maybeAdd([beforePrimaryToolbarPlugin, {
|
|
231
|
+
}, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.insertBlockPlugin)]).maybeAdd([beforePrimaryToolbarPlugin, {
|
|
232
232
|
beforePrimaryToolbarComponents: // @ts-expect-error 2339: Property 'before' does not exist on type 'PrimaryToolbarComponents'.
|
|
233
233
|
(_props$primaryToolbar = props.primaryToolbarComponents) === null || _props$primaryToolbar === void 0 ? void 0 : _props$primaryToolbar.before
|
|
234
234
|
}], Boolean(hasBeforePrimaryToolbar(props.primaryToolbarComponents) && !featureFlags.twoLineEditorToolbar)).add([avatarGroupPlugin, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "210.1.
|
|
2
|
+
export var version = "210.1.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "210.1.
|
|
3
|
+
"version": "210.1.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
46
46
|
"@atlaskit/button": "^23.4.0",
|
|
47
47
|
"@atlaskit/css": "^0.12.0",
|
|
48
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
48
|
+
"@atlaskit/editor-json-transformer": "^8.27.0",
|
|
49
49
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
50
50
|
"@atlaskit/editor-plugin-quick-insert": "^3.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-user-preferences": "^1.2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/editor-toolbar": "^0.3.0",
|
|
56
56
|
"@atlaskit/editor-toolbar-model": "^0.1.0",
|
|
57
57
|
"@atlaskit/emoji": "^69.5.0",
|
|
58
|
-
"@atlaskit/icon": "^
|
|
58
|
+
"@atlaskit/icon": "^28.0.0",
|
|
59
59
|
"@atlaskit/link": "^3.2.0",
|
|
60
60
|
"@atlaskit/media-card": "^79.5.0",
|
|
61
61
|
"@atlaskit/mention": "^24.2.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@af/visual-regression": "workspace:^",
|
|
93
93
|
"@atlaskit/adf-utils": "^19.21.0",
|
|
94
94
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
95
|
-
"@atlaskit/collab-provider": "^11.
|
|
95
|
+
"@atlaskit/collab-provider": "^11.3.0",
|
|
96
96
|
"@atlaskit/editor-plugin-annotation": "^3.3.0",
|
|
97
97
|
"@atlaskit/editor-plugin-card": "^7.4.0",
|
|
98
98
|
"@atlaskit/editor-plugin-list": "^5.1.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@atlaskit/primitives": "^14.11.0",
|
|
107
107
|
"@atlaskit/renderer": "^120.4.0",
|
|
108
108
|
"@atlaskit/section-message": "^8.5.0",
|
|
109
|
-
"@atlaskit/smart-card": "^40.
|
|
109
|
+
"@atlaskit/smart-card": "^40.11.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
111
111
|
"@atlaskit/toggle": "^15.1.0",
|
|
112
112
|
"@atlaskit/util-data-test": "^18.1.0",
|