@atlaskit/editor-core 219.8.1 → 219.8.3
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 +14 -0
- package/dist/cjs/presets/default.js +3 -1
- package/dist/cjs/ui/EditorContentContainer/styles/layout.js +21 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/default.js +3 -1
- package/dist/es2019/ui/EditorContentContainer/styles/layout.js +22 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/default.js +3 -1
- package/dist/esm/ui/EditorContentContainer/styles/layout.js +22 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/presets/default-preset-type.d.ts +4 -2
- package/dist/types-ts4.5/presets/default-preset-type.d.ts +4 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 219.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0197bccd3d244`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0197bccd3d244) -
|
|
8
|
+
Add vertical alignment options to layout column menus and rendering.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 219.8.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 219.8.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -38,12 +38,14 @@ var _submitEditor = require("@atlaskit/editor-plugins/submit-editor");
|
|
|
38
38
|
var _textFormatting = require("@atlaskit/editor-plugins/text-formatting");
|
|
39
39
|
var _toolbar = require("@atlaskit/editor-plugins/toolbar");
|
|
40
40
|
var _typeAhead = require("@atlaskit/editor-plugins/type-ahead");
|
|
41
|
+
var _uiControlRegistry = require("@atlaskit/editor-plugins/ui-control-registry");
|
|
41
42
|
var _undoRedo = require("@atlaskit/editor-plugins/undo-redo");
|
|
42
43
|
var _unsupportedContent = require("@atlaskit/editor-plugins/unsupported-content");
|
|
43
44
|
var _userIntent = require("@atlaskit/editor-plugins/user-intent");
|
|
44
45
|
var _width = require("@atlaskit/editor-plugins/width");
|
|
45
46
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
46
47
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
48
|
+
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
47
49
|
var _isFullPage = require("../utils/is-full-page");
|
|
48
50
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
49
51
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // #region Imports
|
|
@@ -73,7 +75,7 @@ function createDefaultPreset(options) {
|
|
|
73
75
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
74
76
|
}]).add([_base.basePlugin, options.base]).add(_decorations.decorationsPlugin).add([_typeAhead.typeAheadPlugin, options.typeAhead]).maybeAdd(_history.historyPlugin, Boolean(options.allowUndoRedoButtons)).add(_userIntent.userIntentPlugin).maybeAdd([_toolbar.toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([_primaryToolbar.primaryToolbarPlugin, {
|
|
75
77
|
contextualFormattingEnabled: isFullPage
|
|
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)).maybeAdd([_blockMenu.blockMenuPlugin, {
|
|
78
|
+
}]).maybeAdd(_uiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true)).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)).maybeAdd([_blockMenu.blockMenuPlugin, {
|
|
77
79
|
useStandardNodeWidth: (_options$blockMenu$us = (_options$blockMenu = options.blockMenu) === null || _options$blockMenu === void 0 ? void 0 : _options$blockMenu.useStandardNodeWidth) !== null && _options$blockMenu$us !== void 0 ? _options$blockMenu$us : false,
|
|
78
80
|
blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
|
|
79
81
|
getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
|
|
@@ -326,6 +326,10 @@ var layoutSelectedStylesAdvanced = exports.layoutSelectedStylesAdvanced = (0, _r
|
|
|
326
326
|
height: 'calc(100% - 24px)',
|
|
327
327
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
328
328
|
marginLeft: -25
|
|
329
|
+
},
|
|
330
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
331
|
+
'[data-layout-column]:is([data-valign="middle"], [data-valign="bottom"]):not(:first-of-type) [data-layout-content]::before': {
|
|
332
|
+
top: "var(--ds-space-150, 12px)"
|
|
329
333
|
}
|
|
330
334
|
}), '&.selected.danger [data-layout-section]', {
|
|
331
335
|
backgroundColor: "var(--ds-background-danger, #FFECEB)",
|
|
@@ -501,6 +505,23 @@ var layoutBaseStyles = exports.layoutBaseStyles = (0, _react.css)({
|
|
|
501
505
|
'.mediaGroupView-content-wrap': {
|
|
502
506
|
clear: 'both'
|
|
503
507
|
}
|
|
508
|
+
},
|
|
509
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
510
|
+
'&[data-valign="middle"], &[data-valign="bottom"]': {
|
|
511
|
+
display: 'flex',
|
|
512
|
+
flexDirection: 'column'
|
|
513
|
+
},
|
|
514
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
515
|
+
'&[data-valign="middle"]': {
|
|
516
|
+
justifyContent: 'center'
|
|
517
|
+
},
|
|
518
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
519
|
+
'&[data-valign="bottom"]': {
|
|
520
|
+
justifyContent: 'flex-end'
|
|
521
|
+
},
|
|
522
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
523
|
+
'&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
|
|
524
|
+
height: 'auto'
|
|
504
525
|
}
|
|
505
526
|
}
|
|
506
527
|
}
|
|
@@ -31,12 +31,14 @@ import { submitEditorPlugin } from '@atlaskit/editor-plugins/submit-editor';
|
|
|
31
31
|
import { textFormattingPlugin } from '@atlaskit/editor-plugins/text-formatting';
|
|
32
32
|
import { toolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
33
33
|
import { typeAheadPlugin } from '@atlaskit/editor-plugins/type-ahead';
|
|
34
|
+
import { uiControlRegistryPlugin } from '@atlaskit/editor-plugins/ui-control-registry';
|
|
34
35
|
import { undoRedoPlugin } from '@atlaskit/editor-plugins/undo-redo';
|
|
35
36
|
import { unsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-content';
|
|
36
37
|
import { userIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
37
38
|
import { widthPlugin } from '@atlaskit/editor-plugins/width';
|
|
38
39
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
39
40
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
41
|
+
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
40
42
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
41
43
|
|
|
42
44
|
// #endregion
|
|
@@ -64,7 +66,7 @@ export function createDefaultPreset(options) {
|
|
|
64
66
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
65
67
|
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).add(userIntentPlugin).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
|
|
66
68
|
contextualFormattingEnabled: isFullPage
|
|
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)).maybeAdd([blockMenuPlugin, {
|
|
69
|
+
}]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true)).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)).maybeAdd([blockMenuPlugin, {
|
|
68
70
|
useStandardNodeWidth: (_options$blockMenu$us = (_options$blockMenu = options.blockMenu) === null || _options$blockMenu === void 0 ? void 0 : _options$blockMenu.useStandardNodeWidth) !== null && _options$blockMenu$us !== void 0 ? _options$blockMenu$us : false,
|
|
69
71
|
blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
|
|
70
72
|
getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
|
|
2
|
+
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { blanketSelectionStyles, borderSelectionStyles, hideNativeBrowserTextSelectionStyles } from './selectionStyles';
|
|
4
5
|
const gridMediumMaxWidth = 1024;
|
|
@@ -361,6 +362,10 @@ export const layoutSelectedStylesAdvanced = css({
|
|
|
361
362
|
height: 'calc(100% - 24px)',
|
|
362
363
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
363
364
|
marginLeft: -25
|
|
365
|
+
},
|
|
366
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
367
|
+
'[data-layout-column]:is([data-valign="middle"], [data-valign="bottom"]):not(:first-of-type) [data-layout-content]::before': {
|
|
368
|
+
top: "var(--ds-space-150, 12px)"
|
|
364
369
|
}
|
|
365
370
|
},
|
|
366
371
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -598,6 +603,23 @@ export const layoutBaseStyles = css({
|
|
|
598
603
|
'.mediaGroupView-content-wrap': {
|
|
599
604
|
clear: 'both'
|
|
600
605
|
}
|
|
606
|
+
},
|
|
607
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
608
|
+
'&[data-valign="middle"], &[data-valign="bottom"]': {
|
|
609
|
+
display: 'flex',
|
|
610
|
+
flexDirection: 'column'
|
|
611
|
+
},
|
|
612
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
613
|
+
'&[data-valign="middle"]': {
|
|
614
|
+
justifyContent: 'center'
|
|
615
|
+
},
|
|
616
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
617
|
+
'&[data-valign="bottom"]': {
|
|
618
|
+
justifyContent: 'flex-end'
|
|
619
|
+
},
|
|
620
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
621
|
+
'&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
|
|
622
|
+
height: 'auto'
|
|
601
623
|
}
|
|
602
624
|
}
|
|
603
625
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -34,12 +34,14 @@ import { submitEditorPlugin } from '@atlaskit/editor-plugins/submit-editor';
|
|
|
34
34
|
import { textFormattingPlugin } from '@atlaskit/editor-plugins/text-formatting';
|
|
35
35
|
import { toolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
36
36
|
import { typeAheadPlugin } from '@atlaskit/editor-plugins/type-ahead';
|
|
37
|
+
import { uiControlRegistryPlugin } from '@atlaskit/editor-plugins/ui-control-registry';
|
|
37
38
|
import { undoRedoPlugin } from '@atlaskit/editor-plugins/undo-redo';
|
|
38
39
|
import { unsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-content';
|
|
39
40
|
import { userIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
40
41
|
import { widthPlugin } from '@atlaskit/editor-plugins/width';
|
|
41
42
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
42
43
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
44
|
+
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
43
45
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
44
46
|
|
|
45
47
|
// #endregion
|
|
@@ -68,7 +70,7 @@ export function createDefaultPreset(options) {
|
|
|
68
70
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
69
71
|
}]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).add(userIntentPlugin).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
|
|
70
72
|
contextualFormattingEnabled: isFullPage
|
|
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)).maybeAdd([blockMenuPlugin, {
|
|
73
|
+
}]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true)).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)).maybeAdd([blockMenuPlugin, {
|
|
72
74
|
useStandardNodeWidth: (_options$blockMenu$us = (_options$blockMenu = options.blockMenu) === null || _options$blockMenu === void 0 ? void 0 : _options$blockMenu.useStandardNodeWidth) !== null && _options$blockMenu$us !== void 0 ? _options$blockMenu$us : false,
|
|
73
75
|
blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
|
|
74
76
|
getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled */
|
|
3
|
+
|
|
3
4
|
import { css } from '@emotion/react';
|
|
4
5
|
import { blanketSelectionStyles, borderSelectionStyles, hideNativeBrowserTextSelectionStyles } from './selectionStyles';
|
|
5
6
|
var gridMediumMaxWidth = 1024;
|
|
@@ -318,6 +319,10 @@ export var layoutSelectedStylesAdvanced = css({
|
|
|
318
319
|
height: 'calc(100% - 24px)',
|
|
319
320
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
320
321
|
marginLeft: -25
|
|
322
|
+
},
|
|
323
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
324
|
+
'[data-layout-column]:is([data-valign="middle"], [data-valign="bottom"]):not(:first-of-type) [data-layout-content]::before': {
|
|
325
|
+
top: "var(--ds-space-150, 12px)"
|
|
321
326
|
}
|
|
322
327
|
}), '&.selected.danger [data-layout-section]', {
|
|
323
328
|
backgroundColor: "var(--ds-background-danger, #FFECEB)",
|
|
@@ -493,6 +498,23 @@ export var layoutBaseStyles = css({
|
|
|
493
498
|
'.mediaGroupView-content-wrap': {
|
|
494
499
|
clear: 'both'
|
|
495
500
|
}
|
|
501
|
+
},
|
|
502
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
503
|
+
'&[data-valign="middle"], &[data-valign="bottom"]': {
|
|
504
|
+
display: 'flex',
|
|
505
|
+
flexDirection: 'column'
|
|
506
|
+
},
|
|
507
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
508
|
+
'&[data-valign="middle"]': {
|
|
509
|
+
justifyContent: 'center'
|
|
510
|
+
},
|
|
511
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
512
|
+
'&[data-valign="bottom"]': {
|
|
513
|
+
justifyContent: 'flex-end'
|
|
514
|
+
},
|
|
515
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
516
|
+
'&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
|
|
517
|
+
height: 'auto'
|
|
496
518
|
}
|
|
497
519
|
}
|
|
498
520
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
|
@@ -30,6 +30,7 @@ import type { SubmitEditorPlugin } from '@atlaskit/editor-plugins/submit-editor'
|
|
|
30
30
|
import type { TextFormattingPlugin } from '@atlaskit/editor-plugins/text-formatting';
|
|
31
31
|
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
32
32
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugins/type-ahead';
|
|
33
|
+
import type { UiControlRegistryPlugin } from '@atlaskit/editor-plugins/ui-control-registry';
|
|
33
34
|
import type { UndoRedoPlugin } from '@atlaskit/editor-plugins/undo-redo';
|
|
34
35
|
import type { UnsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-content';
|
|
35
36
|
import type { UserIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
@@ -50,9 +51,10 @@ export type DefaultPresetPlugins = [
|
|
|
50
51
|
HyperlinkPlugin,
|
|
51
52
|
SelectionToolbarPlugin,
|
|
52
53
|
ClearMarksOnEmptyDocPlugin,
|
|
53
|
-
UndoRedoPlugin | undefined,
|
|
54
|
-
BlockMenuPlugin | undefined,
|
|
55
54
|
BlockTypePlugin,
|
|
55
|
+
BlockMenuPlugin | undefined,
|
|
56
|
+
UndoRedoPlugin | undefined,
|
|
57
|
+
UiControlRegistryPlugin | undefined,
|
|
56
58
|
PrimaryToolbarPlugin,
|
|
57
59
|
ToolbarPlugin | undefined,
|
|
58
60
|
UserIntentPlugin | undefined,
|
|
@@ -30,6 +30,7 @@ import type { SubmitEditorPlugin } from '@atlaskit/editor-plugins/submit-editor'
|
|
|
30
30
|
import type { TextFormattingPlugin } from '@atlaskit/editor-plugins/text-formatting';
|
|
31
31
|
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
32
32
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugins/type-ahead';
|
|
33
|
+
import type { UiControlRegistryPlugin } from '@atlaskit/editor-plugins/ui-control-registry';
|
|
33
34
|
import type { UndoRedoPlugin } from '@atlaskit/editor-plugins/undo-redo';
|
|
34
35
|
import type { UnsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-content';
|
|
35
36
|
import type { UserIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
@@ -50,9 +51,10 @@ export type DefaultPresetPlugins = [
|
|
|
50
51
|
HyperlinkPlugin,
|
|
51
52
|
SelectionToolbarPlugin,
|
|
52
53
|
ClearMarksOnEmptyDocPlugin,
|
|
53
|
-
UndoRedoPlugin | undefined,
|
|
54
|
-
BlockMenuPlugin | undefined,
|
|
55
54
|
BlockTypePlugin,
|
|
55
|
+
BlockMenuPlugin | undefined,
|
|
56
|
+
UndoRedoPlugin | undefined,
|
|
57
|
+
UiControlRegistryPlugin | undefined,
|
|
56
58
|
PrimaryToolbarPlugin,
|
|
57
59
|
ToolbarPlugin | undefined,
|
|
58
60
|
UserIntentPlugin | undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.8.
|
|
3
|
+
"version": "219.8.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,17 +64,17 @@
|
|
|
64
64
|
"@atlaskit/editor-ssr-renderer": "^5.2.0",
|
|
65
65
|
"@atlaskit/editor-toolbar": "^1.5.0",
|
|
66
66
|
"@atlaskit/editor-toolbar-model": "^0.5.0",
|
|
67
|
-
"@atlaskit/emoji": "^70.
|
|
68
|
-
"@atlaskit/feature-gate-js-client": "^5.
|
|
69
|
-
"@atlaskit/icon": "^
|
|
67
|
+
"@atlaskit/emoji": "^70.9.0",
|
|
68
|
+
"@atlaskit/feature-gate-js-client": "^5.7.0",
|
|
69
|
+
"@atlaskit/icon": "^35.0.0",
|
|
70
70
|
"@atlaskit/link": "^3.4.0",
|
|
71
71
|
"@atlaskit/media-card": "^80.5.0",
|
|
72
|
-
"@atlaskit/mention": "^
|
|
72
|
+
"@atlaskit/mention": "^26.0.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.5.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^5.21.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.1.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^81.
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^81.1.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^22.2.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"uuid": "^3.1.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@atlaskit/editor-common": "^114.
|
|
95
|
+
"@atlaskit/editor-common": "^114.35.0",
|
|
96
96
|
"@atlaskit/link-provider": "^4.4.0",
|
|
97
|
-
"@atlaskit/media-core": "^37.
|
|
97
|
+
"@atlaskit/media-core": "^37.1.0",
|
|
98
98
|
"react": "^18.2.0",
|
|
99
99
|
"react-dom": "^18.2.0",
|
|
100
100
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -108,16 +108,16 @@
|
|
|
108
108
|
"@atlaskit/code": "^17.5.0",
|
|
109
109
|
"@atlaskit/collab-provider": "^18.3.0",
|
|
110
110
|
"@atlaskit/editor-plugin-annotation": "^10.4.0",
|
|
111
|
-
"@atlaskit/editor-plugin-card": "^16.
|
|
111
|
+
"@atlaskit/editor-plugin-card": "^16.9.0",
|
|
112
112
|
"@atlaskit/editor-plugin-list": "^12.1.0",
|
|
113
113
|
"@atlaskit/editor-plugin-paste": "^11.2.0",
|
|
114
114
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
115
115
|
"@atlaskit/link-provider": "^4.4.0",
|
|
116
116
|
"@atlaskit/linking-common": "^9.11.0",
|
|
117
117
|
"@atlaskit/logo": "^20.1.0",
|
|
118
|
-
"@atlaskit/media-core": "^37.
|
|
118
|
+
"@atlaskit/media-core": "^37.1.0",
|
|
119
119
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
120
|
-
"@atlaskit/media-test-helpers": "^41.
|
|
120
|
+
"@atlaskit/media-test-helpers": "^41.1.0",
|
|
121
121
|
"@atlaskit/modal-dialog": "^15.0.0",
|
|
122
122
|
"@atlaskit/popper": "^7.2.0",
|
|
123
123
|
"@atlaskit/portal": "^5.5.0",
|