@atlaskit/editor-core 215.21.1 → 215.21.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 +16 -0
- package/afm-cc/tsconfig.json +6 -0
- package/afm-jira/tsconfig.json +6 -0
- package/afm-products/tsconfig.json +6 -0
- package/dist/cjs/ui/Appearance/Chromeless.js +2 -5
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Chromeless.js +2 -5
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Chromeless.js +2 -5
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +1 -0
- package/dist/types/presets/universal.d.ts +1 -0
- package/dist/types/presets/useUniversalPreset.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1 -0
- package/dist/types-ts4.5/presets/universal.d.ts +1 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1 -0
- package/package.json +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.21.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`31417f38e1e12`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31417f38e1e12) -
|
|
8
|
+
Update toolbar experiments configuration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 215.21.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`6ef7509a0bf5b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ef7509a0bf5b) -
|
|
16
|
+
Clean up platform_fix_extra_space_last_line_comment_editor
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 215.21.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
{
|
|
29
29
|
"path": "../../activity-provider/afm-cc/tsconfig.json"
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"path": "../../adf-schema/afm-cc/tsconfig.json"
|
|
33
|
+
},
|
|
31
34
|
{
|
|
32
35
|
"path": "../../../analytics/analytics-namespaced-context/afm-cc/tsconfig.json"
|
|
33
36
|
},
|
|
@@ -55,6 +58,9 @@
|
|
|
55
58
|
{
|
|
56
59
|
"path": "../../editor-plugins/afm-cc/tsconfig.json"
|
|
57
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"path": "../../editor-prosemirror/afm-cc/tsconfig.json"
|
|
63
|
+
},
|
|
58
64
|
{
|
|
59
65
|
"path": "../../editor-shared-styles/afm-cc/tsconfig.json"
|
|
60
66
|
},
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
{
|
|
29
29
|
"path": "../../activity-provider/afm-jira/tsconfig.json"
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"path": "../../adf-schema/afm-jira/tsconfig.json"
|
|
33
|
+
},
|
|
31
34
|
{
|
|
32
35
|
"path": "../../../analytics/analytics-namespaced-context/afm-jira/tsconfig.json"
|
|
33
36
|
},
|
|
@@ -55,6 +58,9 @@
|
|
|
55
58
|
{
|
|
56
59
|
"path": "../../editor-plugins/afm-jira/tsconfig.json"
|
|
57
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"path": "../../editor-prosemirror/afm-jira/tsconfig.json"
|
|
63
|
+
},
|
|
58
64
|
{
|
|
59
65
|
"path": "../../editor-shared-styles/afm-jira/tsconfig.json"
|
|
60
66
|
},
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
{
|
|
29
29
|
"path": "../../activity-provider/afm-products/tsconfig.json"
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"path": "../../adf-schema/afm-products/tsconfig.json"
|
|
33
|
+
},
|
|
31
34
|
{
|
|
32
35
|
"path": "../../../analytics/analytics-namespaced-context/afm-products/tsconfig.json"
|
|
33
36
|
},
|
|
@@ -55,6 +58,9 @@
|
|
|
55
58
|
{
|
|
56
59
|
"path": "../../editor-plugins/afm-products/tsconfig.json"
|
|
57
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"path": "../../editor-prosemirror/afm-products/tsconfig.json"
|
|
63
|
+
},
|
|
58
64
|
{
|
|
59
65
|
"path": "../../editor-shared-styles/afm-products/tsconfig.json"
|
|
60
66
|
},
|
|
@@ -16,7 +16,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
18
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
19
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
19
|
var _EditorContentContainer = _interopRequireDefault(require("../EditorContentContainer/EditorContentContainer"));
|
|
21
20
|
var _PluginSlot = _interopRequireDefault(require("../PluginSlot"));
|
|
22
21
|
var _WithFlash = _interopRequireDefault(require("../WithFlash"));
|
|
@@ -65,9 +64,7 @@ var chromelessEditorStylesNew = (0, _react2.css)({
|
|
|
65
64
|
'& > :last-child': {
|
|
66
65
|
paddingBottom: "var(--ds-space-100, 0.5em)"
|
|
67
66
|
}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
var extraSpaceLastLineFix = (0, _react2.css)({
|
|
67
|
+
},
|
|
71
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
72
69
|
'.ProseMirror': {
|
|
73
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -183,7 +180,7 @@ function ChromelessEditorContainer(_ref3) {
|
|
|
183
180
|
children = _ref3.children,
|
|
184
181
|
containerRef = _ref3.containerRef;
|
|
185
182
|
return (0, _react2.jsx)("div", {
|
|
186
|
-
css: [chromelessEditorStylesNew, scrollbarStylesNew
|
|
183
|
+
css: [chromelessEditorStylesNew, scrollbarStylesNew],
|
|
187
184
|
style: {
|
|
188
185
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
189
186
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -104,7 +104,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
104
104
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
105
105
|
}, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
|
|
106
106
|
className: (0, _runtime.ax)([styles.mainToolbarIconBefore, (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
|
|
107
|
-
}, beforeIcon), (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
107
|
+
}, beforeIcon), (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && ((0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !(0, _coreUtils.isSSR)() : !(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
108
108
|
toolbar: toolbar,
|
|
109
109
|
components: components,
|
|
110
110
|
editorView: editorView,
|
|
@@ -117,7 +117,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
117
117
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
|
|
118
118
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
119
119
|
className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
|
|
120
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
120
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && ((0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !(0, _coreUtils.isSSR)() : !(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
121
121
|
toolbar: toolbar,
|
|
122
122
|
components: components,
|
|
123
123
|
editorView: editorView,
|
|
@@ -8,7 +8,6 @@ import React, { Fragment } from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import EditorContentContainer from '../EditorContentContainer/EditorContentContainer';
|
|
13
12
|
import PluginSlot from '../PluginSlot';
|
|
14
13
|
import WithFlash from '../WithFlash';
|
|
@@ -51,9 +50,7 @@ const chromelessEditorStylesNew = css({
|
|
|
51
50
|
'& > :last-child': {
|
|
52
51
|
paddingBottom: "var(--ds-space-100, 0.5em)"
|
|
53
52
|
}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
const extraSpaceLastLineFix = css({
|
|
53
|
+
},
|
|
57
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
58
55
|
'.ProseMirror': {
|
|
59
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -160,7 +157,7 @@ export function ChromelessEditorContainer({
|
|
|
160
157
|
containerRef
|
|
161
158
|
}) {
|
|
162
159
|
return jsx("div", {
|
|
163
|
-
css: [chromelessEditorStylesNew, scrollbarStylesNew
|
|
160
|
+
css: [chromelessEditorStylesNew, scrollbarStylesNew],
|
|
164
161
|
style: {
|
|
165
162
|
maxHeight: maxHeight ? `${maxHeight}px` : undefined,
|
|
166
163
|
minHeight: `${minHeight}px`
|
|
@@ -99,7 +99,7 @@ export const FullPageToolbarNext = ({
|
|
|
99
99
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
100
100
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
101
101
|
className: ax([styles.mainToolbarIconBefore, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
|
|
102
|
-
}, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
102
|
+
}, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
103
103
|
toolbar: toolbar,
|
|
104
104
|
components: components,
|
|
105
105
|
editorView: editorView,
|
|
@@ -112,7 +112,7 @@ export const FullPageToolbarNext = ({
|
|
|
112
112
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
113
113
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
114
114
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
115
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
115
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
116
116
|
toolbar: toolbar,
|
|
117
117
|
components: components,
|
|
118
118
|
editorView: editorView,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.21.
|
|
2
|
+
export const version = "215.21.2";
|
|
@@ -15,7 +15,6 @@ import React, { Fragment } from 'react';
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
18
|
import EditorContentContainer from '../EditorContentContainer/EditorContentContainer';
|
|
20
19
|
import PluginSlot from '../PluginSlot';
|
|
21
20
|
import WithFlash from '../WithFlash';
|
|
@@ -58,9 +57,7 @@ var chromelessEditorStylesNew = css({
|
|
|
58
57
|
'& > :last-child': {
|
|
59
58
|
paddingBottom: "var(--ds-space-100, 0.5em)"
|
|
60
59
|
}
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
var extraSpaceLastLineFix = css({
|
|
60
|
+
},
|
|
64
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
65
62
|
'.ProseMirror': {
|
|
66
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -177,7 +174,7 @@ export function ChromelessEditorContainer(_ref3) {
|
|
|
177
174
|
children = _ref3.children,
|
|
178
175
|
containerRef = _ref3.containerRef;
|
|
179
176
|
return jsx("div", {
|
|
180
|
-
css: [chromelessEditorStylesNew, scrollbarStylesNew
|
|
177
|
+
css: [chromelessEditorStylesNew, scrollbarStylesNew],
|
|
181
178
|
style: {
|
|
182
179
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
183
180
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -96,7 +96,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
96
96
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
97
97
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
98
98
|
className: ax([styles.mainToolbarIconBefore, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
|
|
99
|
-
}, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
99
|
+
}, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
100
100
|
toolbar: toolbar,
|
|
101
101
|
components: components,
|
|
102
102
|
editorView: editorView,
|
|
@@ -109,7 +109,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
109
109
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
110
110
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
111
111
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
112
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
112
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
113
113
|
toolbar: toolbar,
|
|
114
114
|
components: components,
|
|
115
115
|
editorView: editorView,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.21.
|
|
2
|
+
export var version = "215.21.2";
|
|
@@ -51,6 +51,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
51
51
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
|
|
52
52
|
actions: {
|
|
53
53
|
flushBodiedSyncBlocks: () => Promise<boolean>;
|
|
54
|
+
flushSyncedBlocks: () => Promise<boolean>;
|
|
54
55
|
};
|
|
55
56
|
commands: {
|
|
56
57
|
copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -124,6 +124,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
124
124
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
|
|
125
125
|
actions: {
|
|
126
126
|
flushBodiedSyncBlocks: () => Promise<boolean>;
|
|
127
|
+
flushSyncedBlocks: () => Promise<boolean>;
|
|
127
128
|
};
|
|
128
129
|
commands: {
|
|
129
130
|
copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -51,6 +51,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
51
51
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
|
|
52
52
|
actions: {
|
|
53
53
|
flushBodiedSyncBlocks: () => Promise<boolean>;
|
|
54
|
+
flushSyncedBlocks: () => Promise<boolean>;
|
|
54
55
|
};
|
|
55
56
|
commands: {
|
|
56
57
|
copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -149,6 +149,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
149
149
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
|
|
150
150
|
actions: {
|
|
151
151
|
flushBodiedSyncBlocks: () => Promise<boolean>;
|
|
152
|
+
flushSyncedBlocks: () => Promise<boolean>;
|
|
152
153
|
};
|
|
153
154
|
commands: {
|
|
154
155
|
copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -222,6 +222,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
222
222
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
|
|
223
223
|
actions: {
|
|
224
224
|
flushBodiedSyncBlocks: () => Promise<boolean>;
|
|
225
|
+
flushSyncedBlocks: () => Promise<boolean>;
|
|
225
226
|
};
|
|
226
227
|
commands: {
|
|
227
228
|
copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -149,6 +149,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
149
149
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
|
|
150
150
|
actions: {
|
|
151
151
|
flushBodiedSyncBlocks: () => Promise<boolean>;
|
|
152
|
+
flushSyncedBlocks: () => Promise<boolean>;
|
|
152
153
|
};
|
|
153
154
|
commands: {
|
|
154
155
|
copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.21.
|
|
3
|
+
"version": "215.21.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
42
|
-
"@atlaskit/adf-schema": "^51.5.
|
|
42
|
+
"@atlaskit/adf-schema": "^51.5.0",
|
|
43
43
|
"@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
|
|
44
44
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^6.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-user-preferences": "^4.0.0",
|
|
53
53
|
"@atlaskit/editor-plugins": "^11.1.0",
|
|
54
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
54
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
56
56
|
"@atlaskit/editor-ssr-renderer": "^1.3.0",
|
|
57
57
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
58
58
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
59
59
|
"@atlaskit/emoji": "^69.9.0",
|
|
60
|
-
"@atlaskit/icon": "^29.
|
|
60
|
+
"@atlaskit/icon": "^29.1.0",
|
|
61
61
|
"@atlaskit/link": "^3.2.0",
|
|
62
62
|
"@atlaskit/media-card": "^79.10.0",
|
|
63
63
|
"@atlaskit/mention": "^24.4.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
66
66
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
67
67
|
"@atlaskit/task-decision": "^19.2.0",
|
|
68
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
68
|
+
"@atlaskit/tmp-editor-statsig": "^15.10.0",
|
|
69
69
|
"@atlaskit/tokens": "^8.4.0",
|
|
70
70
|
"@atlaskit/tooltip": "^20.11.0",
|
|
71
71
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"uuid": "^3.1.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@atlaskit/editor-common": "^110.
|
|
85
|
+
"@atlaskit/editor-common": "^110.42.0",
|
|
86
86
|
"@atlaskit/link-provider": "^4.0.0",
|
|
87
87
|
"@atlaskit/media-core": "^37.0.0",
|
|
88
88
|
"react": "^18.2.0",
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
106
106
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
107
107
|
"@atlaskit/modal-dialog": "^14.8.0",
|
|
108
|
-
"@atlaskit/renderer": "^124.
|
|
108
|
+
"@atlaskit/renderer": "^124.19.0",
|
|
109
109
|
"@atlaskit/section-message": "^8.10.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
111
111
|
"@atlaskit/toggle": "^15.2.0",
|
|
112
112
|
"@atlaskit/util-data-test": "^18.3.0",
|
|
113
|
-
"@atlassian/adf-schema-json": "^1.
|
|
113
|
+
"@atlassian/adf-schema-json": "^1.33.0",
|
|
114
114
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
115
115
|
"@atlassian/search-provider": "^7.0.0",
|
|
116
116
|
"@emotion/jest": "^11.8.0",
|
|
@@ -339,9 +339,6 @@
|
|
|
339
339
|
"platform_editor_vanilla_codebidi_warning": {
|
|
340
340
|
"type": "boolean"
|
|
341
341
|
},
|
|
342
|
-
"platform_fix_extra_space_last_line_comment_editor": {
|
|
343
|
-
"type": "boolean"
|
|
344
|
-
},
|
|
345
342
|
"platform_editor_adf_with_localid": {
|
|
346
343
|
"type": "boolean",
|
|
347
344
|
"referenceOnly": true
|