@atlaskit/editor-plugin-breakout 1.9.3 → 1.9.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/commands/remove-breakout.js +7 -11
- package/dist/cjs/commands/set-breakout-mode.js +7 -11
- package/dist/cjs/plugin.js +9 -2
- package/dist/es2019/commands/remove-breakout.js +7 -11
- package/dist/es2019/commands/set-breakout-mode.js +7 -11
- package/dist/es2019/plugin.js +9 -2
- package/dist/esm/commands/remove-breakout.js +7 -11
- package/dist/esm/commands/set-breakout-mode.js +7 -11
- package/dist/esm/plugin.js +9 -2
- package/dist/types/plugin.d.ts +3 -1
- package/dist/types-ts4.5/plugin.d.ts +3 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 1.9.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#169284](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/169284)
|
|
8
|
+
[`6e121d2945aae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e121d2945aae) -
|
|
9
|
+
ED-25760 draop hints are not triggered for unchanged layout
|
|
10
|
+
|
|
11
|
+
## 1.9.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#167313](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167313)
|
|
16
|
+
[`40d491ee58258`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40d491ee58258) -
|
|
17
|
+
ED-24230 Remove code wrapping for editor FG
|
|
18
|
+
|
|
3
19
|
## 1.9.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -19,18 +19,14 @@ function removeBreakout(isLivePage) {
|
|
|
19
19
|
return m.type.name !== 'breakout';
|
|
20
20
|
});
|
|
21
21
|
var tr = state.tr.setNodeMarkup(node.pos, node.node.type, node.node.attrs, marks);
|
|
22
|
-
if (
|
|
23
|
-
if (node.node.type === state.schema.nodes.expand) {
|
|
24
|
-
(0, _singlePlayerExpand.updateExpandedState)(tr, node, isLivePage);
|
|
25
|
-
} else if (!(0, _platformFeatureFlags.fg)('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
26
|
-
var newNode = tr.doc.nodeAt(node.pos);
|
|
27
|
-
var oldNode = node.node;
|
|
28
|
-
if (newNode) {
|
|
29
|
-
(0, _codeBlock.transferCodeBlockWrappedValue)(oldNode, newNode);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
} else {
|
|
22
|
+
if (node.node.type === state.schema.nodes.expand) {
|
|
33
23
|
(0, _singlePlayerExpand.updateExpandedState)(tr, node, isLivePage);
|
|
24
|
+
} else if (!(0, _platformFeatureFlags.fg)('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
25
|
+
var newNode = tr.doc.nodeAt(node.pos);
|
|
26
|
+
var oldNode = node.node;
|
|
27
|
+
if (newNode) {
|
|
28
|
+
(0, _codeBlock.transferCodeBlockWrappedValue)(oldNode, newNode);
|
|
29
|
+
}
|
|
34
30
|
}
|
|
35
31
|
tr.setMeta('scrollIntoView', false);
|
|
36
32
|
if (state.selection instanceof _state.NodeSelection) {
|
|
@@ -18,18 +18,14 @@ function setBreakoutMode(mode, isLivePage) {
|
|
|
18
18
|
var tr = state.tr.setNodeMarkup(node.pos, node.node.type, node.node.attrs, [state.schema.marks.breakout.create({
|
|
19
19
|
mode: mode
|
|
20
20
|
})]);
|
|
21
|
-
if (
|
|
22
|
-
if (node.node.type === state.schema.nodes.expand) {
|
|
23
|
-
(0, _singlePlayerExpand.updateExpandedState)(tr, node, isLivePage);
|
|
24
|
-
} else if (!(0, _platformFeatureFlags.fg)('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
25
|
-
var newNode = tr.doc.nodeAt(node.pos);
|
|
26
|
-
var oldNode = node.node;
|
|
27
|
-
if (newNode) {
|
|
28
|
-
(0, _codeBlock.transferCodeBlockWrappedValue)(oldNode, newNode);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
} else {
|
|
21
|
+
if (node.node.type === state.schema.nodes.expand) {
|
|
32
22
|
(0, _singlePlayerExpand.updateExpandedState)(tr, node, isLivePage);
|
|
23
|
+
} else if (!(0, _platformFeatureFlags.fg)('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
24
|
+
var newNode = tr.doc.nodeAt(node.pos);
|
|
25
|
+
var oldNode = node.node;
|
|
26
|
+
if (newNode) {
|
|
27
|
+
(0, _codeBlock.transferCodeBlockWrappedValue)(oldNode, newNode);
|
|
28
|
+
}
|
|
33
29
|
}
|
|
34
30
|
tr.setMeta('scrollIntoView', false);
|
|
35
31
|
if (state.selection instanceof _state.NodeSelection) {
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -16,6 +16,7 @@ var _styles = require("@atlaskit/editor-common/styles");
|
|
|
16
16
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
17
17
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
18
18
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
19
20
|
var _pluginKey = require("./plugin-key");
|
|
20
21
|
var _LayoutButton = _interopRequireDefault(require("./ui/LayoutButton"));
|
|
21
22
|
var _findBreakoutNode = require("./utils/find-breakout-node");
|
|
@@ -212,10 +213,16 @@ var LayoutButtonWrapper = function LayoutButtonWrapper(_ref3) {
|
|
|
212
213
|
scrollableElement = _ref3.scrollableElement,
|
|
213
214
|
mountPoint = _ref3.mountPoint;
|
|
214
215
|
// Re-render with `width` (but don't use state) due to https://bitbucket.org/atlassian/%7Bc8e2f021-38d2-46d0-9b7a-b3f7b428f724%7D/pull-requests/24272
|
|
215
|
-
var _useSharedPluginState = (0, _hooks.useSharedPluginState)(api, ['width', 'breakout', 'editorViewMode', 'editorDisabled']),
|
|
216
|
+
var _useSharedPluginState = (0, _hooks.useSharedPluginState)(api, ['width', 'breakout', 'editorViewMode', 'editorDisabled', 'blockControls']),
|
|
216
217
|
breakoutState = _useSharedPluginState.breakoutState,
|
|
217
218
|
editorViewModeState = _useSharedPluginState.editorViewModeState,
|
|
218
|
-
editorDisabledState = _useSharedPluginState.editorDisabledState
|
|
219
|
+
editorDisabledState = _useSharedPluginState.editorDisabledState,
|
|
220
|
+
blockControlsState = _useSharedPluginState.blockControlsState;
|
|
221
|
+
if (blockControlsState !== null && blockControlsState !== void 0 && blockControlsState.isDragging || blockControlsState !== null && blockControlsState !== void 0 && blockControlsState.isPMDragging) {
|
|
222
|
+
if ((0, _experiments.editorExperiment)('advanced_layouts', true)) {
|
|
223
|
+
return null;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
219
226
|
var isViewMode = (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view';
|
|
220
227
|
var isEditMode = (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'edit';
|
|
221
228
|
if ((0, _platformFeatureFlags.fg)('platform_editor_react_editor_view_react_18')) {
|
|
@@ -11,18 +11,14 @@ export function removeBreakout(isLivePage) {
|
|
|
11
11
|
}
|
|
12
12
|
const marks = node.node.marks.filter(m => m.type.name !== 'breakout');
|
|
13
13
|
const tr = state.tr.setNodeMarkup(node.pos, node.node.type, node.node.attrs, marks);
|
|
14
|
-
if (
|
|
15
|
-
if (node.node.type === state.schema.nodes.expand) {
|
|
16
|
-
updateExpandedState(tr, node, isLivePage);
|
|
17
|
-
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
18
|
-
const newNode = tr.doc.nodeAt(node.pos);
|
|
19
|
-
const oldNode = node.node;
|
|
20
|
-
if (newNode) {
|
|
21
|
-
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
} else {
|
|
14
|
+
if (node.node.type === state.schema.nodes.expand) {
|
|
25
15
|
updateExpandedState(tr, node, isLivePage);
|
|
16
|
+
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
17
|
+
const newNode = tr.doc.nodeAt(node.pos);
|
|
18
|
+
const oldNode = node.node;
|
|
19
|
+
if (newNode) {
|
|
20
|
+
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
21
|
+
}
|
|
26
22
|
}
|
|
27
23
|
tr.setMeta('scrollIntoView', false);
|
|
28
24
|
if (state.selection instanceof NodeSelection) {
|
|
@@ -12,18 +12,14 @@ export function setBreakoutMode(mode, isLivePage) {
|
|
|
12
12
|
const tr = state.tr.setNodeMarkup(node.pos, node.node.type, node.node.attrs, [state.schema.marks.breakout.create({
|
|
13
13
|
mode
|
|
14
14
|
})]);
|
|
15
|
-
if (
|
|
16
|
-
if (node.node.type === state.schema.nodes.expand) {
|
|
17
|
-
updateExpandedState(tr, node, isLivePage);
|
|
18
|
-
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
19
|
-
const newNode = tr.doc.nodeAt(node.pos);
|
|
20
|
-
const oldNode = node.node;
|
|
21
|
-
if (newNode) {
|
|
22
|
-
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
15
|
+
if (node.node.type === state.schema.nodes.expand) {
|
|
26
16
|
updateExpandedState(tr, node, isLivePage);
|
|
17
|
+
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
18
|
+
const newNode = tr.doc.nodeAt(node.pos);
|
|
19
|
+
const oldNode = node.node;
|
|
20
|
+
if (newNode) {
|
|
21
|
+
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
22
|
+
}
|
|
27
23
|
}
|
|
28
24
|
tr.setMeta('scrollIntoView', false);
|
|
29
25
|
if (state.selection instanceof NodeSelection) {
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -7,6 +7,7 @@ import { BreakoutCssClassName } from '@atlaskit/editor-common/styles';
|
|
|
7
7
|
import { calcBreakoutWidthPx } from '@atlaskit/editor-common/utils';
|
|
8
8
|
import { akEditorGutterPaddingDynamic, akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
10
11
|
import { pluginKey } from './plugin-key';
|
|
11
12
|
import LayoutButton from './ui/LayoutButton';
|
|
12
13
|
import { findSupportedNodeForBreakout } from './utils/find-breakout-node';
|
|
@@ -206,8 +207,14 @@ const LayoutButtonWrapper = ({
|
|
|
206
207
|
const {
|
|
207
208
|
breakoutState,
|
|
208
209
|
editorViewModeState,
|
|
209
|
-
editorDisabledState
|
|
210
|
-
|
|
210
|
+
editorDisabledState,
|
|
211
|
+
blockControlsState
|
|
212
|
+
} = useSharedPluginState(api, ['width', 'breakout', 'editorViewMode', 'editorDisabled', 'blockControls']);
|
|
213
|
+
if (blockControlsState !== null && blockControlsState !== void 0 && blockControlsState.isDragging || blockControlsState !== null && blockControlsState !== void 0 && blockControlsState.isPMDragging) {
|
|
214
|
+
if (editorExperiment('advanced_layouts', true)) {
|
|
215
|
+
return null;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
211
218
|
const isViewMode = (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view';
|
|
212
219
|
const isEditMode = (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'edit';
|
|
213
220
|
if (fg('platform_editor_react_editor_view_react_18')) {
|
|
@@ -13,18 +13,14 @@ export function removeBreakout(isLivePage) {
|
|
|
13
13
|
return m.type.name !== 'breakout';
|
|
14
14
|
});
|
|
15
15
|
var tr = state.tr.setNodeMarkup(node.pos, node.node.type, node.node.attrs, marks);
|
|
16
|
-
if (
|
|
17
|
-
if (node.node.type === state.schema.nodes.expand) {
|
|
18
|
-
updateExpandedState(tr, node, isLivePage);
|
|
19
|
-
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
20
|
-
var newNode = tr.doc.nodeAt(node.pos);
|
|
21
|
-
var oldNode = node.node;
|
|
22
|
-
if (newNode) {
|
|
23
|
-
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
} else {
|
|
16
|
+
if (node.node.type === state.schema.nodes.expand) {
|
|
27
17
|
updateExpandedState(tr, node, isLivePage);
|
|
18
|
+
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
19
|
+
var newNode = tr.doc.nodeAt(node.pos);
|
|
20
|
+
var oldNode = node.node;
|
|
21
|
+
if (newNode) {
|
|
22
|
+
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
23
|
+
}
|
|
28
24
|
}
|
|
29
25
|
tr.setMeta('scrollIntoView', false);
|
|
30
26
|
if (state.selection instanceof NodeSelection) {
|
|
@@ -12,18 +12,14 @@ export function setBreakoutMode(mode, isLivePage) {
|
|
|
12
12
|
var tr = state.tr.setNodeMarkup(node.pos, node.node.type, node.node.attrs, [state.schema.marks.breakout.create({
|
|
13
13
|
mode: mode
|
|
14
14
|
})]);
|
|
15
|
-
if (
|
|
16
|
-
if (node.node.type === state.schema.nodes.expand) {
|
|
17
|
-
updateExpandedState(tr, node, isLivePage);
|
|
18
|
-
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
19
|
-
var newNode = tr.doc.nodeAt(node.pos);
|
|
20
|
-
var oldNode = node.node;
|
|
21
|
-
if (newNode) {
|
|
22
|
-
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
15
|
+
if (node.node.type === state.schema.nodes.expand) {
|
|
26
16
|
updateExpandedState(tr, node, isLivePage);
|
|
17
|
+
} else if (!fg('editor_code_block_wrapping_language_change_bug') && node.node.type === state.schema.nodes.codeBlock) {
|
|
18
|
+
var newNode = tr.doc.nodeAt(node.pos);
|
|
19
|
+
var oldNode = node.node;
|
|
20
|
+
if (newNode) {
|
|
21
|
+
transferCodeBlockWrappedValue(oldNode, newNode);
|
|
22
|
+
}
|
|
27
23
|
}
|
|
28
24
|
tr.setMeta('scrollIntoView', false);
|
|
29
25
|
if (state.selection instanceof NodeSelection) {
|
package/dist/esm/plugin.js
CHANGED
|
@@ -11,6 +11,7 @@ import { BreakoutCssClassName } from '@atlaskit/editor-common/styles';
|
|
|
11
11
|
import { calcBreakoutWidthPx } from '@atlaskit/editor-common/utils';
|
|
12
12
|
import { akEditorGutterPaddingDynamic, akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
14
15
|
import { pluginKey } from './plugin-key';
|
|
15
16
|
import LayoutButton from './ui/LayoutButton';
|
|
16
17
|
import { findSupportedNodeForBreakout } from './utils/find-breakout-node';
|
|
@@ -205,10 +206,16 @@ var LayoutButtonWrapper = function LayoutButtonWrapper(_ref3) {
|
|
|
205
206
|
scrollableElement = _ref3.scrollableElement,
|
|
206
207
|
mountPoint = _ref3.mountPoint;
|
|
207
208
|
// Re-render with `width` (but don't use state) due to https://bitbucket.org/atlassian/%7Bc8e2f021-38d2-46d0-9b7a-b3f7b428f724%7D/pull-requests/24272
|
|
208
|
-
var _useSharedPluginState = useSharedPluginState(api, ['width', 'breakout', 'editorViewMode', 'editorDisabled']),
|
|
209
|
+
var _useSharedPluginState = useSharedPluginState(api, ['width', 'breakout', 'editorViewMode', 'editorDisabled', 'blockControls']),
|
|
209
210
|
breakoutState = _useSharedPluginState.breakoutState,
|
|
210
211
|
editorViewModeState = _useSharedPluginState.editorViewModeState,
|
|
211
|
-
editorDisabledState = _useSharedPluginState.editorDisabledState
|
|
212
|
+
editorDisabledState = _useSharedPluginState.editorDisabledState,
|
|
213
|
+
blockControlsState = _useSharedPluginState.blockControlsState;
|
|
214
|
+
if (blockControlsState !== null && blockControlsState !== void 0 && blockControlsState.isDragging || blockControlsState !== null && blockControlsState !== void 0 && blockControlsState.isPMDragging) {
|
|
215
|
+
if (editorExperiment('advanced_layouts', true)) {
|
|
216
|
+
return null;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
212
219
|
var isViewMode = (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view';
|
|
213
220
|
var isEditMode = (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'edit';
|
|
214
221
|
if (fg('platform_editor_react_editor_view_react_18')) {
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import { type BlockControlsPlugin } from '@atlaskit/editor-plugin-block-controls';
|
|
2
3
|
import { type EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
3
4
|
import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
4
5
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
@@ -11,7 +12,8 @@ export type BreakoutPlugin = NextEditorPlugin<'breakout', {
|
|
|
11
12
|
dependencies: [
|
|
12
13
|
WidthPlugin,
|
|
13
14
|
OptionalPlugin<EditorViewModePlugin>,
|
|
14
|
-
OptionalPlugin<EditorDisabledPlugin
|
|
15
|
+
OptionalPlugin<EditorDisabledPlugin>,
|
|
16
|
+
OptionalPlugin<BlockControlsPlugin>
|
|
15
17
|
];
|
|
16
18
|
sharedState: Partial<BreakoutPluginState>;
|
|
17
19
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import { type BlockControlsPlugin } from '@atlaskit/editor-plugin-block-controls';
|
|
2
3
|
import { type EditorDisabledPlugin } from '@atlaskit/editor-plugin-editor-disabled';
|
|
3
4
|
import type { EditorViewModePlugin } from '@atlaskit/editor-plugin-editor-viewmode';
|
|
4
5
|
import type { WidthPlugin } from '@atlaskit/editor-plugin-width';
|
|
@@ -11,7 +12,8 @@ export type BreakoutPlugin = NextEditorPlugin<'breakout', {
|
|
|
11
12
|
dependencies: [
|
|
12
13
|
WidthPlugin,
|
|
13
14
|
OptionalPlugin<EditorViewModePlugin>,
|
|
14
|
-
OptionalPlugin<EditorDisabledPlugin
|
|
15
|
+
OptionalPlugin<EditorDisabledPlugin>,
|
|
16
|
+
OptionalPlugin<BlockControlsPlugin>
|
|
15
17
|
];
|
|
16
18
|
sharedState: Partial<BreakoutPluginState>;
|
|
17
19
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
35
|
"@atlaskit/editor-common": "^95.7.0",
|
|
36
|
+
"@atlaskit/editor-plugin-block-controls": "^2.13.0",
|
|
36
37
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
37
38
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
38
39
|
"@atlaskit/editor-plugin-width": "^1.3.0",
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
"@atlaskit/icon": "^22.26.0",
|
|
42
43
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
43
44
|
"@atlaskit/theme": "^14.0.0",
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^2.17.0",
|
|
44
46
|
"@atlaskit/tokens": "^2.3.0",
|
|
45
47
|
"@babel/runtime": "^7.0.0",
|
|
46
48
|
"@emotion/react": "^11.7.1"
|
|
@@ -105,9 +107,6 @@
|
|
|
105
107
|
"platform_editor_react_editor_view_react_18": {
|
|
106
108
|
"type": "boolean"
|
|
107
109
|
},
|
|
108
|
-
"editor_support_code_block_wrapping": {
|
|
109
|
-
"type": "boolean"
|
|
110
|
-
},
|
|
111
110
|
"editor_code_block_wrapping_language_change_bug": {
|
|
112
111
|
"type": "boolean"
|
|
113
112
|
},
|