@atlaskit/editor-core 193.8.10 → 193.9.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 +12 -0
- package/dist/cjs/presets/default.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/default.js +3 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/default.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/presets/default.d.ts +1 -1
- package/dist/types-ts4.5/presets/default.d.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#88300](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88300) [`3f6fb42cfa90`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f6fb42cfa90) - Paste is no longer a mandatory prop when creating a default preset.
|
|
8
|
+
|
|
9
|
+
## 193.8.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#87069](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87069) [`3c2cb323593e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c2cb323593e) - remove feature flag in-danger-hover-merged-cells-fix
|
|
14
|
+
|
|
3
15
|
## 193.8.10
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -51,7 +51,7 @@ function createDefaultPreset(options) {
|
|
|
51
51
|
var preset = new _preset.EditorPresetBuilder().add([_featureFlags.featureFlagsPlugin, options.featureFlags || {}]).maybeAdd([_analytics.analyticsPlugin, {
|
|
52
52
|
createAnalyticsEvent: options.createAnalyticsEvent,
|
|
53
53
|
performanceTracking: options.performanceTracking
|
|
54
|
-
}], Boolean(options.allowAnalyticsGASV3)).add(_betterTypeHistory.betterTypeHistoryPlugin).add([_paste.pastePlugin, options.paste]).add(_clipboard.clipboardPlugin).add(_focus.focusPlugin).add(_composition.compositionPlugin).add([_contextIdentifier.contextIdentifierPlugin, {
|
|
54
|
+
}], Boolean(options.allowAnalyticsGASV3)).add(_betterTypeHistory.betterTypeHistoryPlugin).add([_paste.pastePlugin, _objectSpread({}, options === null || options === void 0 ? void 0 : options.paste)]).add(_clipboard.clipboardPlugin).add(_focus.focusPlugin).add(_composition.compositionPlugin).add([_contextIdentifier.contextIdentifierPlugin, {
|
|
55
55
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
56
56
|
}]).add([_base.basePlugin, options.base]).add(_decorations.decorationsPlugin).add([_typeAhead.typeAheadPlugin, options.typeAhead || {
|
|
57
57
|
createAnalyticsEvent: options.createAnalyticsEvent
|
|
@@ -43,7 +43,9 @@ export function createDefaultPreset(options) {
|
|
|
43
43
|
const preset = new EditorPresetBuilder().add([featureFlagsPlugin, options.featureFlags || {}]).maybeAdd([analyticsPlugin, {
|
|
44
44
|
createAnalyticsEvent: options.createAnalyticsEvent,
|
|
45
45
|
performanceTracking: options.performanceTracking
|
|
46
|
-
}], Boolean(options.allowAnalyticsGASV3)).add(betterTypeHistoryPlugin).add([pastePlugin,
|
|
46
|
+
}], Boolean(options.allowAnalyticsGASV3)).add(betterTypeHistoryPlugin).add([pastePlugin, {
|
|
47
|
+
...(options === null || options === void 0 ? void 0 : options.paste)
|
|
48
|
+
}]).add(clipboardPlugin).add(focusPlugin).add(compositionPlugin).add([contextIdentifierPlugin, {
|
|
47
49
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
48
50
|
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead || {
|
|
49
51
|
createAnalyticsEvent: options.createAnalyticsEvent
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.
|
|
2
|
+
export const version = "193.9.0";
|
|
@@ -46,7 +46,7 @@ export function createDefaultPreset(options) {
|
|
|
46
46
|
var preset = new EditorPresetBuilder().add([featureFlagsPlugin, options.featureFlags || {}]).maybeAdd([analyticsPlugin, {
|
|
47
47
|
createAnalyticsEvent: options.createAnalyticsEvent,
|
|
48
48
|
performanceTracking: options.performanceTracking
|
|
49
|
-
}], Boolean(options.allowAnalyticsGASV3)).add(betterTypeHistoryPlugin).add([pastePlugin, options.paste]).add(clipboardPlugin).add(focusPlugin).add(compositionPlugin).add([contextIdentifierPlugin, {
|
|
49
|
+
}], Boolean(options.allowAnalyticsGASV3)).add(betterTypeHistoryPlugin).add([pastePlugin, _objectSpread({}, options === null || options === void 0 ? void 0 : options.paste)]).add(clipboardPlugin).add(focusPlugin).add(compositionPlugin).add([contextIdentifierPlugin, {
|
|
50
50
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
51
51
|
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead || {
|
|
52
52
|
createAnalyticsEvent: options.createAnalyticsEvent
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.
|
|
2
|
+
export var version = "193.9.0";
|
|
@@ -11,7 +11,7 @@ import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugins/placehol
|
|
|
11
11
|
import type { TypeAheadPluginOptions } from '@atlaskit/editor-plugins/type-ahead';
|
|
12
12
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
13
13
|
export type DefaultPresetPluginOptions = {
|
|
14
|
-
paste
|
|
14
|
+
paste?: PastePluginOptions;
|
|
15
15
|
base?: BasePluginOptions;
|
|
16
16
|
blockType?: BlockTypePluginOptions;
|
|
17
17
|
placeholder?: PlaceholderPluginOptions;
|
|
@@ -11,7 +11,7 @@ import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugins/placehol
|
|
|
11
11
|
import type { TypeAheadPluginOptions } from '@atlaskit/editor-plugins/type-ahead';
|
|
12
12
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
13
13
|
export type DefaultPresetPluginOptions = {
|
|
14
|
-
paste
|
|
14
|
+
paste?: PastePluginOptions;
|
|
15
15
|
base?: BasePluginOptions;
|
|
16
16
|
blockType?: BlockTypePluginOptions;
|
|
17
17
|
placeholder?: PlaceholderPluginOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.
|
|
3
|
+
"version": "193.9.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
|
-
"@atlaskit/button": "^17.
|
|
47
|
+
"@atlaskit/button": "^17.11.0",
|
|
48
48
|
"@atlaskit/editor-common": "^78.23.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^2.0.0",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@atlaskit/checkbox": "^13.1.0",
|
|
90
90
|
"@atlaskit/collab-provider": "9.25.15",
|
|
91
91
|
"@atlaskit/dropdown-menu": "^12.8.0",
|
|
92
|
-
"@atlaskit/editor-plugin-annotation": "1.5.
|
|
92
|
+
"@atlaskit/editor-plugin-annotation": "1.5.7",
|
|
93
93
|
"@atlaskit/editor-plugin-card": "^1.4.0",
|
|
94
94
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
|
|
95
95
|
"@atlaskit/editor-plugin-list": "^3.1.5",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
106
106
|
"@atlaskit/primitives": "^5.5.0",
|
|
107
107
|
"@atlaskit/renderer": "^109.15.0",
|
|
108
|
-
"@atlaskit/select": "^17.
|
|
108
|
+
"@atlaskit/select": "^17.6.0",
|
|
109
109
|
"@atlaskit/smart-card": "^26.52.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
111
111
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
115
115
|
"@atlassian/feature-flags-test-utils": "^0.2.0",
|
|
116
116
|
"@atlassian/link-picker-plugins": "^24.0.0",
|
|
117
|
-
"@atlassian/search-provider": "2.4.
|
|
117
|
+
"@atlassian/search-provider": "2.4.48",
|
|
118
118
|
"@atlassian/ufo": "^0.2.0",
|
|
119
119
|
"@emotion/jest": "^11.8.0",
|
|
120
120
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -285,10 +285,6 @@
|
|
|
285
285
|
"type": "boolean",
|
|
286
286
|
"referenceOnly": "true"
|
|
287
287
|
},
|
|
288
|
-
"platform.editor.table.in-danger-hover-merged-cells-fix": {
|
|
289
|
-
"type": "boolean",
|
|
290
|
-
"referenceOnly": "true"
|
|
291
|
-
},
|
|
292
288
|
"platform.editor.a11y-column-resizing_emcvz": {
|
|
293
289
|
"type": "boolean",
|
|
294
290
|
"referenceOnly": "true"
|
|
@@ -300,6 +296,10 @@
|
|
|
300
296
|
"platform.editor.table.copy-paste-in-bodied-extension": {
|
|
301
297
|
"type": "boolean",
|
|
302
298
|
"referenceOnly": "true"
|
|
299
|
+
},
|
|
300
|
+
"platform.editor.media.extended-resize-experience": {
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"referenceOnly": "true"
|
|
303
303
|
}
|
|
304
304
|
},
|
|
305
305
|
"stricter": {
|