@atlaskit/editor-core 204.6.0 → 204.6.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 +19 -0
- package/dist/cjs/presets/universal.js +2 -1
- 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 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 204.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#128664](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/128664)
|
|
8
|
+
[`abca3266336d9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/abca3266336d9) -
|
|
9
|
+
[ED-23250] Remove form element from MediaFromUrl and consolidate experiments and feature flags in
|
|
10
|
+
prepartion for jira release
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 204.6.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#128179](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/128179)
|
|
18
|
+
[`1ce5182d1a35f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1ce5182d1a35f) -
|
|
19
|
+
Clean up feature flag platform_editor_advanced_layouts_post_fix_patch_3
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 204.6.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -56,6 +56,7 @@ var _tasksAndDecisions = require("@atlaskit/editor-plugins/tasks-and-decisions")
|
|
|
56
56
|
var _textColor = require("@atlaskit/editor-plugins/text-color");
|
|
57
57
|
var _toolbarListsIndentation = require("@atlaskit/editor-plugins/toolbar-lists-indentation");
|
|
58
58
|
var _ufo = require("@atlaskit/editor-plugins/ufo");
|
|
59
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
59
60
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
60
61
|
var _isFullPage = require("../utils/is-full-page");
|
|
61
62
|
var _versionWrapper = require("../version-wrapper");
|
|
@@ -136,7 +137,7 @@ function createUniversalPresetInternal(_ref) {
|
|
|
136
137
|
isCopyPasteEnabled: true,
|
|
137
138
|
alignLeftOnInsert: typeof ((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.alignLeftOnInsert) !== 'undefined' ? (_props$media6 = props.media) === null || _props$media6 === void 0 ? void 0 : _props$media6.alignLeftOnInsert : isComment,
|
|
138
139
|
getEditorFeatureFlags: getEditorFeatureFlags
|
|
139
|
-
})], Boolean(props.media)).maybeAdd(_mediaInsert.mediaInsertPlugin, Boolean(props.media && (0,
|
|
140
|
+
})], Boolean(props.media)).maybeAdd(_mediaInsert.mediaInsertPlugin, Boolean(props.media && (0, _platformFeatureFlags.fg)('platform_editor_add_media_from_url_rollout'))).maybeAdd(_caption.captionPlugin, Boolean((_props$media7 = props.media) === null || _props$media7 === void 0 ? void 0 : _props$media7.allowCaptions)).maybeAdd([_mentions.mentionsPlugin, _objectSpread({
|
|
140
141
|
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
141
142
|
insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
|
|
142
143
|
allowZeroWidthSpaceAfter: true,
|
|
@@ -46,6 +46,7 @@ import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-deci
|
|
|
46
46
|
import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
|
|
47
47
|
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-lists-indentation';
|
|
48
48
|
import { ufoPlugin } from '@atlaskit/editor-plugins/ufo';
|
|
49
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
49
50
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
50
51
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
51
52
|
import { version as coreVersion } from '../version-wrapper';
|
|
@@ -127,7 +128,7 @@ export default function createUniversalPresetInternal({
|
|
|
127
128
|
isCopyPasteEnabled: true,
|
|
128
129
|
alignLeftOnInsert: typeof ((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.alignLeftOnInsert) !== 'undefined' ? (_props$media6 = props.media) === null || _props$media6 === void 0 ? void 0 : _props$media6.alignLeftOnInsert : isComment,
|
|
129
130
|
getEditorFeatureFlags
|
|
130
|
-
}], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media &&
|
|
131
|
+
}], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media && fg('platform_editor_add_media_from_url_rollout'))).maybeAdd(captionPlugin, Boolean((_props$media7 = props.media) === null || _props$media7 === void 0 ? void 0 : _props$media7.allowCaptions)).maybeAdd([mentionsPlugin, {
|
|
131
132
|
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
132
133
|
insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
|
|
133
134
|
allowZeroWidthSpaceAfter: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "204.6.
|
|
2
|
+
export const version = "204.6.2";
|
|
@@ -50,6 +50,7 @@ import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-deci
|
|
|
50
50
|
import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
|
|
51
51
|
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-lists-indentation';
|
|
52
52
|
import { ufoPlugin } from '@atlaskit/editor-plugins/ufo';
|
|
53
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
53
54
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
54
55
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
55
56
|
import { version as coreVersion } from '../version-wrapper';
|
|
@@ -129,7 +130,7 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
129
130
|
isCopyPasteEnabled: true,
|
|
130
131
|
alignLeftOnInsert: typeof ((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.alignLeftOnInsert) !== 'undefined' ? (_props$media6 = props.media) === null || _props$media6 === void 0 ? void 0 : _props$media6.alignLeftOnInsert : isComment,
|
|
131
132
|
getEditorFeatureFlags: getEditorFeatureFlags
|
|
132
|
-
})], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media &&
|
|
133
|
+
})], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media && fg('platform_editor_add_media_from_url_rollout'))).maybeAdd(captionPlugin, Boolean((_props$media7 = props.media) === null || _props$media7 === void 0 ? void 0 : _props$media7.allowCaptions)).maybeAdd([mentionsPlugin, _objectSpread({
|
|
133
134
|
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
134
135
|
insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
|
|
135
136
|
allowZeroWidthSpaceAfter: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "204.6.
|
|
2
|
+
export var version = "204.6.2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "204.6.
|
|
3
|
+
"version": "204.6.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
61
61
|
"@atlaskit/react-ufo": "^3.4.0",
|
|
62
62
|
"@atlaskit/task-decision": "^19.1.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^4.3.0",
|
|
64
64
|
"@atlaskit/tokens": "^4.5.0",
|
|
65
65
|
"@atlaskit/tooltip": "^20.0.0",
|
|
66
66
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -307,26 +307,14 @@
|
|
|
307
307
|
"type": "boolean",
|
|
308
308
|
"referenceOnly": true
|
|
309
309
|
},
|
|
310
|
-
"platform_editor_hide_external_media_badge": {
|
|
311
|
-
"type": "boolean",
|
|
312
|
-
"referenceOnly": true
|
|
313
|
-
},
|
|
314
310
|
"platform_editor_set_alignment_when_resized": {
|
|
315
311
|
"type": "boolean",
|
|
316
312
|
"referenceOnly": true
|
|
317
313
|
},
|
|
318
|
-
"platform_editor_table_drag_menu_mount_point_fix": {
|
|
319
|
-
"type": "boolean",
|
|
320
|
-
"referenceOnly": true
|
|
321
|
-
},
|
|
322
314
|
"platform_editor_media_block_default": {
|
|
323
315
|
"type": "boolean",
|
|
324
316
|
"referenceOnly": true
|
|
325
317
|
},
|
|
326
|
-
"platform_editor_advanced_layouts_post_fix_patch_3": {
|
|
327
|
-
"type": "boolean",
|
|
328
|
-
"referenceOnly": true
|
|
329
|
-
},
|
|
330
318
|
"platform_editor_plugin_selection_marker_bugfix": {
|
|
331
319
|
"type": "boolean",
|
|
332
320
|
"referenceOnly": true
|
|
@@ -351,10 +339,6 @@
|
|
|
351
339
|
"type": "boolean",
|
|
352
340
|
"referenceOnly": true
|
|
353
341
|
},
|
|
354
|
-
"platform_editor_support_media_badge_visibility": {
|
|
355
|
-
"type": "boolean",
|
|
356
|
-
"referenceOnly": true
|
|
357
|
-
},
|
|
358
342
|
"platform_editor_disable_context_panel_animation": {
|
|
359
343
|
"type": "boolean",
|
|
360
344
|
"referenceOnly": true
|
|
@@ -556,6 +540,9 @@
|
|
|
556
540
|
"platform_nested_nbm_analytics_location": {
|
|
557
541
|
"type": "boolean"
|
|
558
542
|
},
|
|
543
|
+
"platform_editor_add_media_from_url_rollout": {
|
|
544
|
+
"type": "boolean"
|
|
545
|
+
},
|
|
559
546
|
"platform_editor_transaction_skip_validation": {
|
|
560
547
|
"type": "boolean"
|
|
561
548
|
},
|