@atlaskit/editor-core 193.8.11 → 193.9.1
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 +13 -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 +12 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#87870](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87870) [`3af8be694dfa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3af8be694dfa) - [ED-22839] Add 'platform.editor.single-player-expand' to package.json as readOnly to be used in atlaskit examples.
|
|
8
|
+
- [#88524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88524) [`2b31e930a8fc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b31e930a8fc) - Add catchupV2 feature flag for demo editor
|
|
9
|
+
|
|
10
|
+
## 193.9.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [#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.
|
|
15
|
+
|
|
3
16
|
## 193.8.11
|
|
4
17
|
|
|
5
18
|
### 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.1";
|
|
@@ -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.1";
|
|
@@ -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.1",
|
|
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",
|
|
@@ -296,6 +296,14 @@
|
|
|
296
296
|
"platform.editor.table.copy-paste-in-bodied-extension": {
|
|
297
297
|
"type": "boolean",
|
|
298
298
|
"referenceOnly": "true"
|
|
299
|
+
},
|
|
300
|
+
"platform.editor.media.extended-resize-experience": {
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"referenceOnly": "true"
|
|
303
|
+
},
|
|
304
|
+
"platform.editor.single-player-expand": {
|
|
305
|
+
"type": "boolean",
|
|
306
|
+
"referenceOnly": "true"
|
|
299
307
|
}
|
|
300
308
|
},
|
|
301
309
|
"stricter": {
|