@atlaskit/editor-core 215.14.3 → 215.14.5
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 +16 -0
- package/dist/cjs/presets/default.js +1 -3
- package/dist/cjs/ui/PluginSlot/index.js +1 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/default.js +1 -3
- package/dist/es2019/ui/PluginSlot/index.js +1 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/default.js +1 -3
- package/dist/esm/ui/PluginSlot/index.js +1 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.14.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1861b4b83c67f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1861b4b83c67f) -
|
|
8
|
+
fix unsafe experiment usage for platform_editor_experience_tracking
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 215.14.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`d4b8a7cf9ea37`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d4b8a7cf9ea37) -
|
|
16
|
+
fix unsafe experiment usage for platform_editor_lovability_user_intent
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 215.14.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -71,9 +71,7 @@ function createDefaultPreset(options) {
|
|
|
71
71
|
return (0, _platformFeatureFlags.fg)('platform_editor_use_preferences_plugin');
|
|
72
72
|
}).maybeAdd(_interaction.interactionPlugin, Boolean(options === null || options === void 0 ? void 0 : options.__livePage) || (0, _expValEquals.expValEquals)('platform_editor_no_cursor_on_edit_page_init', 'isEnabled', true)).add(_composition.compositionPlugin).add([_contextIdentifier.contextIdentifierPlugin, {
|
|
73
73
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
74
|
-
}]).add([_base.basePlugin, options.base]).add(_decorations.decorationsPlugin).add([_typeAhead.typeAheadPlugin, options.typeAhead]).maybeAdd(_history.historyPlugin, Boolean(options.allowUndoRedoButtons)).maybeAdd(_userIntent.userIntentPlugin,
|
|
75
|
-
// @ts-expect-error - true is not allowed as a default value
|
|
76
|
-
(0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true)).maybeAdd([_toolbar.toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([_primaryToolbar.primaryToolbarPlugin, {
|
|
74
|
+
}]).add([_base.basePlugin, options.base]).add(_decorations.decorationsPlugin).add([_typeAhead.typeAheadPlugin, options.typeAhead]).maybeAdd(_history.historyPlugin, Boolean(options.allowUndoRedoButtons)).maybeAdd(_userIntent.userIntentPlugin, (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', false)).maybeAdd([_toolbar.toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([_primaryToolbar.primaryToolbarPlugin, {
|
|
77
75
|
contextualFormattingEnabled: isFullPage
|
|
78
76
|
}]).maybeAdd(_undoRedo.undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).add([_blockType.blockTypePlugin, _objectSpread(_objectSpread({}, options.blockType), {}, {
|
|
79
77
|
includeBlockQuoteAsTextstyleOption: isFullPage
|
|
@@ -49,9 +49,7 @@ var PluginSlot = function PluginSlot(_ref) {
|
|
|
49
49
|
containerElement: containerElement
|
|
50
50
|
}), (0, _react2.jsx)("div", {
|
|
51
51
|
css: pluginsComponentsWrapper,
|
|
52
|
-
"data-testid":
|
|
53
|
-
// @ts-expect-error - true is not allowed as a default value
|
|
54
|
-
(0, _expVal.expVal)('platform_editor_experience_tracking', 'isEnabled', true) ? 'plugins-components-wrapper' : undefined
|
|
52
|
+
"data-testid": (0, _expVal.expVal)('platform_editor_experience_tracking', 'isEnabled', false) ? 'plugins-components-wrapper' : undefined
|
|
55
53
|
}, items === null || items === void 0 ? void 0 : items.map(function (component, key) {
|
|
56
54
|
var props = {
|
|
57
55
|
key: key
|
|
@@ -62,9 +62,7 @@ export function createDefaultPreset(options) {
|
|
|
62
62
|
}
|
|
63
63
|
}], () => fg('platform_editor_use_preferences_plugin')).maybeAdd(interactionPlugin, Boolean(options === null || options === void 0 ? void 0 : options.__livePage) || expValEquals('platform_editor_no_cursor_on_edit_page_init', 'isEnabled', true)).add(compositionPlugin).add([contextIdentifierPlugin, {
|
|
64
64
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
65
|
-
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).maybeAdd(userIntentPlugin,
|
|
66
|
-
// @ts-expect-error - true is not allowed as a default value
|
|
67
|
-
expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
|
|
65
|
+
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).maybeAdd(userIntentPlugin, expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false)).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
|
|
68
66
|
contextualFormattingEnabled: isFullPage
|
|
69
67
|
}]).maybeAdd(undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).add([blockTypePlugin, {
|
|
70
68
|
...options.blockType,
|
|
@@ -42,9 +42,7 @@ const PluginSlot = ({
|
|
|
42
42
|
containerElement: containerElement
|
|
43
43
|
}), jsx("div", {
|
|
44
44
|
css: pluginsComponentsWrapper,
|
|
45
|
-
"data-testid":
|
|
46
|
-
// @ts-expect-error - true is not allowed as a default value
|
|
47
|
-
expVal('platform_editor_experience_tracking', 'isEnabled', true) ? 'plugins-components-wrapper' : undefined
|
|
45
|
+
"data-testid": expVal('platform_editor_experience_tracking', 'isEnabled', false) ? 'plugins-components-wrapper' : undefined
|
|
48
46
|
}, items === null || items === void 0 ? void 0 : items.map((component, key) => {
|
|
49
47
|
const props = {
|
|
50
48
|
key
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.14.
|
|
2
|
+
export const version = "215.14.4";
|
|
@@ -66,9 +66,7 @@ export function createDefaultPreset(options) {
|
|
|
66
66
|
return fg('platform_editor_use_preferences_plugin');
|
|
67
67
|
}).maybeAdd(interactionPlugin, Boolean(options === null || options === void 0 ? void 0 : options.__livePage) || expValEquals('platform_editor_no_cursor_on_edit_page_init', 'isEnabled', true)).add(compositionPlugin).add([contextIdentifierPlugin, {
|
|
68
68
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
69
|
-
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).maybeAdd(userIntentPlugin,
|
|
70
|
-
// @ts-expect-error - true is not allowed as a default value
|
|
71
|
-
expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
|
|
69
|
+
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).maybeAdd(userIntentPlugin, expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false)).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
|
|
72
70
|
contextualFormattingEnabled: isFullPage
|
|
73
71
|
}]).maybeAdd(undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).add([blockTypePlugin, _objectSpread(_objectSpread({}, options.blockType), {}, {
|
|
74
72
|
includeBlockQuoteAsTextstyleOption: isFullPage
|
|
@@ -41,9 +41,7 @@ var PluginSlot = function PluginSlot(_ref) {
|
|
|
41
41
|
containerElement: containerElement
|
|
42
42
|
}), jsx("div", {
|
|
43
43
|
css: pluginsComponentsWrapper,
|
|
44
|
-
"data-testid":
|
|
45
|
-
// @ts-expect-error - true is not allowed as a default value
|
|
46
|
-
expVal('platform_editor_experience_tracking', 'isEnabled', true) ? 'plugins-components-wrapper' : undefined
|
|
44
|
+
"data-testid": expVal('platform_editor_experience_tracking', 'isEnabled', false) ? 'plugins-components-wrapper' : undefined
|
|
47
45
|
}, items === null || items === void 0 ? void 0 : items.map(function (component, key) {
|
|
48
46
|
var props = {
|
|
49
47
|
key: key
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.14.
|
|
2
|
+
export var version = "215.14.4";
|