@atlaskit/editor-core 216.13.2 → 216.14.0
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 +18 -0
- package/dist/cjs/create-editor/ReactEditorView.js +9 -9
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +9 -9
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +9 -9
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`17119fb95e0a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/17119fb95e0a4) -
|
|
8
|
+
[EDITOR-3747](https://hello.jira.atlassian.cloud/browse/EDITOR-3747) - clean up
|
|
9
|
+
platform_editor_ssr_renderer experiment
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 216.13.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 216.13.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -145,7 +145,7 @@ function ReactEditorView(props) {
|
|
|
145
145
|
|
|
146
146
|
// if the collabEdit API is set, skip this validation due to potential pm validation errors
|
|
147
147
|
// from docs that end up with invalid marks after processing (See #hot-111702 for more details)
|
|
148
|
-
if ((0, _coreUtils.isSSR)()
|
|
148
|
+
if ((0, _coreUtils.isSSR)() || (api === null || api === void 0 ? void 0 : api.collabEdit) !== undefined || options.props.editorProps.skipValidation) {
|
|
149
149
|
return (0, _processRawValue.processRawValueWithoutValidation)(schema, options.doc, dispatchAnalyticsEvent);
|
|
150
150
|
} else {
|
|
151
151
|
return (0, _processRawValue.processRawValue)(schema, options.doc, options.props.providerFactory, options.props.editorProps.sanitizePrivateContent, contentTransformer.current, dispatchAnalyticsEvent);
|
|
@@ -229,7 +229,7 @@ function ReactEditorView(props) {
|
|
|
229
229
|
});
|
|
230
230
|
}, [errorReporter, featureFlags, parseDoc, props.intl, props.portalProviderAPI, props.nodeViewPortalProviderAPI, props.editorProps, dispatchAnalyticsEvent, eventDispatcher, dispatch]);
|
|
231
231
|
var initialEditorState = (0, _react.useMemo)(function () {
|
|
232
|
-
if ((0, _coreUtils.isSSR)()
|
|
232
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
233
233
|
// We don't need to create initial state in SSR, it would be done by EditorSSRRenderer,
|
|
234
234
|
// so we can save some CPU time here.
|
|
235
235
|
return undefined;
|
|
@@ -310,7 +310,7 @@ function ReactEditorView(props) {
|
|
|
310
310
|
});
|
|
311
311
|
});
|
|
312
312
|
(0, _react.useLayoutEffect)(function () {
|
|
313
|
-
if ((0, _coreUtils.isSSR)()
|
|
313
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
314
314
|
return;
|
|
315
315
|
}
|
|
316
316
|
|
|
@@ -334,7 +334,7 @@ function ReactEditorView(props) {
|
|
|
334
334
|
|
|
335
335
|
// Cleanup
|
|
336
336
|
(0, _react.useLayoutEffect)(function () {
|
|
337
|
-
if ((0, _coreUtils.isSSR)()
|
|
337
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
338
338
|
// No cleanup in SSR should happened because SSR doesn't render a real editor.
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
@@ -601,7 +601,7 @@ function ReactEditorView(props) {
|
|
|
601
601
|
(0, _isFullPage.isFullPage)(props.editorProps.appearance) && originalScrollToRestore.current && originalScrollToRestore.current !== 0;
|
|
602
602
|
(0, _react.useLayoutEffect)(function () {
|
|
603
603
|
var _editorView$props$edi, _editorView$props;
|
|
604
|
-
if ((0, _coreUtils.isSSR)()
|
|
604
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
605
605
|
// We don't need to focus anything in SSR.
|
|
606
606
|
return;
|
|
607
607
|
}
|
|
@@ -625,7 +625,7 @@ function ReactEditorView(props) {
|
|
|
625
625
|
var scrollElement = _react.default.useRef();
|
|
626
626
|
var possibleListeners = _react.default.useRef([]);
|
|
627
627
|
(0, _react.useEffect)(function () {
|
|
628
|
-
if ((0, _coreUtils.isSSR)()
|
|
628
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
629
629
|
// No event listeners should be attached to scroll element in SSR.
|
|
630
630
|
return;
|
|
631
631
|
}
|
|
@@ -773,7 +773,7 @@ function ReactEditorView(props) {
|
|
|
773
773
|
}, [handleEditorViewRef, isPageAppearance, props.intl]);
|
|
774
774
|
var previousPreset = (0, _hooks.usePreviousState)(preset);
|
|
775
775
|
(0, _react.useLayoutEffect)(function () {
|
|
776
|
-
if ((0, _coreUtils.isSSR)()
|
|
776
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
777
777
|
// No state reconfiguration is supported in SSR.
|
|
778
778
|
return;
|
|
779
779
|
}
|
|
@@ -783,7 +783,7 @@ function ReactEditorView(props) {
|
|
|
783
783
|
}, [reconfigureState, previousPreset, preset, props]);
|
|
784
784
|
var previousDisabledState = (0, _hooks.usePreviousState)(disabled);
|
|
785
785
|
(0, _react.useLayoutEffect)(function () {
|
|
786
|
-
if ((0, _coreUtils.isSSR)()
|
|
786
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
787
787
|
// We don't need to focus anything in SSR.
|
|
788
788
|
return;
|
|
789
789
|
}
|
|
@@ -832,7 +832,7 @@ function ReactEditorView(props) {
|
|
|
832
832
|
// In separate memo, because some props like `props.intl` that need only for rendering
|
|
833
833
|
// changes many times, but we don't want to process plugins and ADF document for each unnecessary changes.
|
|
834
834
|
var ssrDeps = (0, _react.useMemo)(function () {
|
|
835
|
-
if (!(0, _coreUtils.isSSR)()
|
|
835
|
+
if (!(0, _coreUtils.isSSR)()) {
|
|
836
836
|
return null;
|
|
837
837
|
}
|
|
838
838
|
var doCreatePluginList = function doCreatePluginList() {
|
|
@@ -134,7 +134,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
134
134
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
135
135
|
}, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
|
|
136
136
|
className: (0, _runtime.ax)([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
137
|
-
}, beforeIcon), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && ((0,
|
|
137
|
+
}, beforeIcon), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && ((0, _coreUtils.isSSR)() || editorView) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !(0, _coreUtils.isSSR)()) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
138
138
|
toolbar: toolbar,
|
|
139
139
|
components: components,
|
|
140
140
|
editorView: editorView,
|
|
@@ -508,11 +508,11 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
508
508
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
509
509
|
_tableStyles.tableContainerStyles,
|
|
510
510
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
511
|
-
!(0, _platformFeatureFlags.fg)('platform_editor_table_container_y_overflow_fix') && _tableStyles.tableContainerOverflowY,
|
|
511
|
+
!(0, _platformFeatureFlags.fg)('platform_editor_table_container_y_overflow_fix') && _tableStyles.tableContainerOverflowY,
|
|
512
512
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
513
513
|
(0, _styles.tableSharedStyle)(),
|
|
514
514
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
515
|
-
|
|
515
|
+
_tableStyles.tableEmptyRowStyles,
|
|
516
516
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
517
517
|
_link.hyperLinkFloatingToolbarStyles,
|
|
518
518
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -118,7 +118,7 @@ export function ReactEditorView(props) {
|
|
|
118
118
|
|
|
119
119
|
// if the collabEdit API is set, skip this validation due to potential pm validation errors
|
|
120
120
|
// from docs that end up with invalid marks after processing (See #hot-111702 for more details)
|
|
121
|
-
if (isSSR()
|
|
121
|
+
if (isSSR() || (api === null || api === void 0 ? void 0 : api.collabEdit) !== undefined || options.props.editorProps.skipValidation) {
|
|
122
122
|
return processRawValueWithoutValidation(schema, options.doc, dispatchAnalyticsEvent);
|
|
123
123
|
} else {
|
|
124
124
|
return processRawValue(schema, options.doc, options.props.providerFactory, options.props.editorProps.sanitizePrivateContent, contentTransformer.current, dispatchAnalyticsEvent);
|
|
@@ -202,7 +202,7 @@ export function ReactEditorView(props) {
|
|
|
202
202
|
});
|
|
203
203
|
}, [errorReporter, featureFlags, parseDoc, props.intl, props.portalProviderAPI, props.nodeViewPortalProviderAPI, props.editorProps, dispatchAnalyticsEvent, eventDispatcher, dispatch]);
|
|
204
204
|
const initialEditorState = useMemo(() => {
|
|
205
|
-
if (isSSR()
|
|
205
|
+
if (isSSR()) {
|
|
206
206
|
// We don't need to create initial state in SSR, it would be done by EditorSSRRenderer,
|
|
207
207
|
// so we can save some CPU time here.
|
|
208
208
|
return undefined;
|
|
@@ -284,7 +284,7 @@ export function ReactEditorView(props) {
|
|
|
284
284
|
});
|
|
285
285
|
});
|
|
286
286
|
useLayoutEffect(() => {
|
|
287
|
-
if (isSSR()
|
|
287
|
+
if (isSSR()) {
|
|
288
288
|
return;
|
|
289
289
|
}
|
|
290
290
|
|
|
@@ -308,7 +308,7 @@ export function ReactEditorView(props) {
|
|
|
308
308
|
|
|
309
309
|
// Cleanup
|
|
310
310
|
useLayoutEffect(() => {
|
|
311
|
-
if (isSSR()
|
|
311
|
+
if (isSSR()) {
|
|
312
312
|
// No cleanup in SSR should happened because SSR doesn't render a real editor.
|
|
313
313
|
return;
|
|
314
314
|
}
|
|
@@ -570,7 +570,7 @@ export function ReactEditorView(props) {
|
|
|
570
570
|
isFullPage(props.editorProps.appearance) && originalScrollToRestore.current && originalScrollToRestore.current !== 0;
|
|
571
571
|
useLayoutEffect(() => {
|
|
572
572
|
var _editorView$props$edi, _editorView$props;
|
|
573
|
-
if (isSSR()
|
|
573
|
+
if (isSSR()) {
|
|
574
574
|
// We don't need to focus anything in SSR.
|
|
575
575
|
return;
|
|
576
576
|
}
|
|
@@ -594,7 +594,7 @@ export function ReactEditorView(props) {
|
|
|
594
594
|
const scrollElement = React.useRef();
|
|
595
595
|
const possibleListeners = React.useRef([]);
|
|
596
596
|
useEffect(() => {
|
|
597
|
-
if (isSSR()
|
|
597
|
+
if (isSSR()) {
|
|
598
598
|
// No event listeners should be attached to scroll element in SSR.
|
|
599
599
|
return;
|
|
600
600
|
}
|
|
@@ -724,7 +724,7 @@ export function ReactEditorView(props) {
|
|
|
724
724
|
}, [handleEditorViewRef, isPageAppearance, props.intl]);
|
|
725
725
|
const previousPreset = usePreviousState(preset);
|
|
726
726
|
useLayoutEffect(() => {
|
|
727
|
-
if (isSSR()
|
|
727
|
+
if (isSSR()) {
|
|
728
728
|
// No state reconfiguration is supported in SSR.
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
@@ -734,7 +734,7 @@ export function ReactEditorView(props) {
|
|
|
734
734
|
}, [reconfigureState, previousPreset, preset, props]);
|
|
735
735
|
const previousDisabledState = usePreviousState(disabled);
|
|
736
736
|
useLayoutEffect(() => {
|
|
737
|
-
if (isSSR()
|
|
737
|
+
if (isSSR()) {
|
|
738
738
|
// We don't need to focus anything in SSR.
|
|
739
739
|
return;
|
|
740
740
|
}
|
|
@@ -782,7 +782,7 @@ export function ReactEditorView(props) {
|
|
|
782
782
|
// In separate memo, because some props like `props.intl` that need only for rendering
|
|
783
783
|
// changes many times, but we don't want to process plugins and ADF document for each unnecessary changes.
|
|
784
784
|
const ssrDeps = useMemo(() => {
|
|
785
|
-
if (!isSSR()
|
|
785
|
+
if (!isSSR()) {
|
|
786
786
|
return null;
|
|
787
787
|
}
|
|
788
788
|
const doCreatePluginList = () => createPluginsList(props.preset,
|
|
@@ -128,7 +128,7 @@ export const FullPageToolbarNext = ({
|
|
|
128
128
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
129
129
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
130
130
|
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
131
|
-
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (
|
|
131
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR()) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
132
132
|
toolbar: toolbar,
|
|
133
133
|
components: components,
|
|
134
134
|
editorView: editorView,
|
|
@@ -504,11 +504,11 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
504
504
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
505
505
|
tableContainerStyles,
|
|
506
506
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
507
|
-
!fg('platform_editor_table_container_y_overflow_fix') && tableContainerOverflowY,
|
|
507
|
+
!fg('platform_editor_table_container_y_overflow_fix') && tableContainerOverflowY,
|
|
508
508
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
509
509
|
tableSharedStyle(),
|
|
510
510
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
511
|
-
|
|
511
|
+
tableEmptyRowStyles,
|
|
512
512
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
513
513
|
hyperLinkFloatingToolbarStyles,
|
|
514
514
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "216.13.
|
|
2
|
+
export const version = "216.13.3";
|
|
@@ -136,7 +136,7 @@ export function ReactEditorView(props) {
|
|
|
136
136
|
|
|
137
137
|
// if the collabEdit API is set, skip this validation due to potential pm validation errors
|
|
138
138
|
// from docs that end up with invalid marks after processing (See #hot-111702 for more details)
|
|
139
|
-
if (isSSR()
|
|
139
|
+
if (isSSR() || (api === null || api === void 0 ? void 0 : api.collabEdit) !== undefined || options.props.editorProps.skipValidation) {
|
|
140
140
|
return processRawValueWithoutValidation(schema, options.doc, dispatchAnalyticsEvent);
|
|
141
141
|
} else {
|
|
142
142
|
return processRawValue(schema, options.doc, options.props.providerFactory, options.props.editorProps.sanitizePrivateContent, contentTransformer.current, dispatchAnalyticsEvent);
|
|
@@ -220,7 +220,7 @@ export function ReactEditorView(props) {
|
|
|
220
220
|
});
|
|
221
221
|
}, [errorReporter, featureFlags, parseDoc, props.intl, props.portalProviderAPI, props.nodeViewPortalProviderAPI, props.editorProps, dispatchAnalyticsEvent, eventDispatcher, dispatch]);
|
|
222
222
|
var initialEditorState = useMemo(function () {
|
|
223
|
-
if (isSSR()
|
|
223
|
+
if (isSSR()) {
|
|
224
224
|
// We don't need to create initial state in SSR, it would be done by EditorSSRRenderer,
|
|
225
225
|
// so we can save some CPU time here.
|
|
226
226
|
return undefined;
|
|
@@ -301,7 +301,7 @@ export function ReactEditorView(props) {
|
|
|
301
301
|
});
|
|
302
302
|
});
|
|
303
303
|
useLayoutEffect(function () {
|
|
304
|
-
if (isSSR()
|
|
304
|
+
if (isSSR()) {
|
|
305
305
|
return;
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -325,7 +325,7 @@ export function ReactEditorView(props) {
|
|
|
325
325
|
|
|
326
326
|
// Cleanup
|
|
327
327
|
useLayoutEffect(function () {
|
|
328
|
-
if (isSSR()
|
|
328
|
+
if (isSSR()) {
|
|
329
329
|
// No cleanup in SSR should happened because SSR doesn't render a real editor.
|
|
330
330
|
return;
|
|
331
331
|
}
|
|
@@ -592,7 +592,7 @@ export function ReactEditorView(props) {
|
|
|
592
592
|
isFullPage(props.editorProps.appearance) && originalScrollToRestore.current && originalScrollToRestore.current !== 0;
|
|
593
593
|
useLayoutEffect(function () {
|
|
594
594
|
var _editorView$props$edi, _editorView$props;
|
|
595
|
-
if (isSSR()
|
|
595
|
+
if (isSSR()) {
|
|
596
596
|
// We don't need to focus anything in SSR.
|
|
597
597
|
return;
|
|
598
598
|
}
|
|
@@ -616,7 +616,7 @@ export function ReactEditorView(props) {
|
|
|
616
616
|
var scrollElement = React.useRef();
|
|
617
617
|
var possibleListeners = React.useRef([]);
|
|
618
618
|
useEffect(function () {
|
|
619
|
-
if (isSSR()
|
|
619
|
+
if (isSSR()) {
|
|
620
620
|
// No event listeners should be attached to scroll element in SSR.
|
|
621
621
|
return;
|
|
622
622
|
}
|
|
@@ -764,7 +764,7 @@ export function ReactEditorView(props) {
|
|
|
764
764
|
}, [handleEditorViewRef, isPageAppearance, props.intl]);
|
|
765
765
|
var previousPreset = usePreviousState(preset);
|
|
766
766
|
useLayoutEffect(function () {
|
|
767
|
-
if (isSSR()
|
|
767
|
+
if (isSSR()) {
|
|
768
768
|
// No state reconfiguration is supported in SSR.
|
|
769
769
|
return;
|
|
770
770
|
}
|
|
@@ -774,7 +774,7 @@ export function ReactEditorView(props) {
|
|
|
774
774
|
}, [reconfigureState, previousPreset, preset, props]);
|
|
775
775
|
var previousDisabledState = usePreviousState(disabled);
|
|
776
776
|
useLayoutEffect(function () {
|
|
777
|
-
if (isSSR()
|
|
777
|
+
if (isSSR()) {
|
|
778
778
|
// We don't need to focus anything in SSR.
|
|
779
779
|
return;
|
|
780
780
|
}
|
|
@@ -823,7 +823,7 @@ export function ReactEditorView(props) {
|
|
|
823
823
|
// In separate memo, because some props like `props.intl` that need only for rendering
|
|
824
824
|
// changes many times, but we don't want to process plugins and ADF document for each unnecessary changes.
|
|
825
825
|
var ssrDeps = useMemo(function () {
|
|
826
|
-
if (!isSSR()
|
|
826
|
+
if (!isSSR()) {
|
|
827
827
|
return null;
|
|
828
828
|
}
|
|
829
829
|
var doCreatePluginList = function doCreatePluginList() {
|
|
@@ -125,7 +125,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
125
125
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
126
126
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
127
127
|
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
128
|
-
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (
|
|
128
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR()) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
129
129
|
toolbar: toolbar,
|
|
130
130
|
components: components,
|
|
131
131
|
editorView: editorView,
|
|
@@ -500,11 +500,11 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
500
500
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
501
501
|
tableContainerStyles,
|
|
502
502
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
503
|
-
!fg('platform_editor_table_container_y_overflow_fix') && tableContainerOverflowY,
|
|
503
|
+
!fg('platform_editor_table_container_y_overflow_fix') && tableContainerOverflowY,
|
|
504
504
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
505
505
|
tableSharedStyle(),
|
|
506
506
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
507
|
-
|
|
507
|
+
tableEmptyRowStyles,
|
|
508
508
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
509
509
|
hyperLinkFloatingToolbarStyles,
|
|
510
510
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "216.13.
|
|
2
|
+
export var version = "216.13.3";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.
|
|
3
|
+
"version": "216.14.0",
|
|
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": "^52.
|
|
42
|
+
"@atlaskit/adf-schema": "^52.2.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",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.4.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.3.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^33.2.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"uuid": "^3.1.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^111.
|
|
86
|
+
"@atlaskit/editor-common": "^111.28.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.2.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
99
99
|
"@atlaskit/collab-provider": "^15.3.0",
|
|
100
100
|
"@atlaskit/editor-plugin-annotation": "^7.1.0",
|
|
101
|
-
"@atlaskit/editor-plugin-card": "^12.
|
|
101
|
+
"@atlaskit/editor-plugin-card": "^12.4.0",
|
|
102
102
|
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
103
103
|
"@atlaskit/editor-plugin-paste": "^8.4.0",
|
|
104
104
|
"@atlaskit/link-provider": "^4.2.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^40.0.0",
|
|
109
109
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
110
|
-
"@atlaskit/renderer": "^126.
|
|
110
|
+
"@atlaskit/renderer": "^126.15.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|