@atlaskit/editor-core 216.7.24 → 216.7.26
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 +17 -0
- package/dist/cjs/composable-editor/editor-internal.js +2 -6
- package/dist/cjs/create-editor/ReactEditorView.js +3 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +2 -6
- package/dist/es2019/create-editor/ReactEditorView.js +3 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +2 -6
- package/dist/esm/create-editor/ReactEditorView.js +3 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +1 -1
- package/dist/types/presets/universal.d.ts +1 -1
- package/dist/types/presets/useUniversalPreset.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1 -1
- package/dist/types-ts4.5/presets/universal.d.ts +1 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1 -1
- package/package.json +4 -10
- package/tsconfig.json +21 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.7.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9da7abaf781fa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9da7abaf781fa) -
|
|
8
|
+
[ux] clean up platform_editor_text_highlight_padding
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 216.7.25
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`bdd272290540a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bdd272290540a) -
|
|
16
|
+
Migrate platform_editor_jan_a11y_fixes flag to platform_editor_enghealth_a11y_jan_fixes
|
|
17
|
+
experiment.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 216.7.24
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -82,12 +82,8 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
82
82
|
}, (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
83
83
|
css: editorContainerStyles
|
|
84
84
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
85
|
-
}, (0, _expValEquals.expValEquals)('cc_fix_hydration_ttvc', 'isEnabled', true) ?
|
|
86
|
-
'data-vc-ignore-if-no-layout-shift': true
|
|
87
|
-
'data-ssr-placeholder': 'fallback'
|
|
88
|
-
} : {
|
|
89
|
-
'data-vc-ignore-if-no-layout-shift': true,
|
|
90
|
-
'data-ssr-placeholder-replace': 'fallback'
|
|
85
|
+
}, (0, _expValEquals.expValEquals)('cc_fix_hydration_ttvc', 'isEnabled', true) ? {
|
|
86
|
+
'data-vc-ignore-if-no-layout-shift': true
|
|
91
87
|
} : {}), (0, _react2.jsx)(_EditorContext.default, {
|
|
92
88
|
editorActions: editorActions
|
|
93
89
|
}, (0, _react2.jsx)(_IntlProviderIfMissingWrapper.IntlProviderIfMissingWrapper, null, (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_ReactEditorView.default, {
|
|
@@ -704,7 +704,9 @@ function ReactEditorView(props) {
|
|
|
704
704
|
id: EDIT_AREA_ID,
|
|
705
705
|
"aria-describedby": assistiveDescribedBy,
|
|
706
706
|
"data-editor-id": editorId.current,
|
|
707
|
-
"data-vc-ignore-if-no-layout-shift": true
|
|
707
|
+
"data-vc-ignore-if-no-layout-shift": true,
|
|
708
|
+
"data-ssr-placeholder": (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? 'editor-view' : undefined,
|
|
709
|
+
"data-ssr-placeholder-replace": (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? 'editor-view' : undefined
|
|
708
710
|
// eslint-disable-next-line react/no-danger -- needed for SSR and hydration so react keeps the HTML untouched
|
|
709
711
|
,
|
|
710
712
|
dangerouslySetInnerHTML: (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? {
|
|
@@ -218,7 +218,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
218
218
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
219
219
|
_textColorStyles.textColorStyles,
|
|
220
220
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
221
|
-
_backgroundColorStyles.backgroundColorStyles,
|
|
221
|
+
_backgroundColorStyles.backgroundColorStyles,
|
|
222
222
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
223
223
|
_backgroundColorStyles.textHighlightPaddingStyles,
|
|
224
224
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -236,7 +236,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
236
236
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
237
237
|
_rule.ruleStyles,
|
|
238
238
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
239
|
-
_smartCardStyles.smartCardDiffStyles, (0,
|
|
239
|
+
_smartCardStyles.smartCardDiffStyles, (0, _expValEquals.expValEquals)('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ?
|
|
240
240
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
241
241
|
_smartCardStyles.showDiffDeletedNodeStylesNew :
|
|
242
242
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -70,12 +70,8 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
70
70
|
}, jsx("div", _extends({
|
|
71
71
|
css: editorContainerStyles
|
|
72
72
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
73
|
-
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) ?
|
|
74
|
-
'data-vc-ignore-if-no-layout-shift': true
|
|
75
|
-
'data-ssr-placeholder': 'fallback'
|
|
76
|
-
} : {
|
|
77
|
-
'data-vc-ignore-if-no-layout-shift': true,
|
|
78
|
-
'data-ssr-placeholder-replace': 'fallback'
|
|
73
|
+
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) ? {
|
|
74
|
+
'data-vc-ignore-if-no-layout-shift': true
|
|
79
75
|
} : {}), jsx(EditorContext, {
|
|
80
76
|
editorActions: editorActions
|
|
81
77
|
}, jsx(IntlProviderIfMissingWrapper, null, jsx(Fragment, null, jsx(ReactEditorViewNext, {
|
|
@@ -655,7 +655,9 @@ export function ReactEditorView(props) {
|
|
|
655
655
|
id: EDIT_AREA_ID,
|
|
656
656
|
"aria-describedby": assistiveDescribedBy,
|
|
657
657
|
"data-editor-id": editorId.current,
|
|
658
|
-
"data-vc-ignore-if-no-layout-shift": true
|
|
658
|
+
"data-vc-ignore-if-no-layout-shift": true,
|
|
659
|
+
"data-ssr-placeholder": expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? 'editor-view' : undefined,
|
|
660
|
+
"data-ssr-placeholder-replace": expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? 'editor-view' : undefined
|
|
659
661
|
// eslint-disable-next-line react/no-danger -- needed for SSR and hydration so react keeps the HTML untouched
|
|
660
662
|
,
|
|
661
663
|
dangerouslySetInnerHTML: expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? {
|
|
@@ -214,7 +214,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
214
214
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
215
215
|
textColorStyles,
|
|
216
216
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
217
|
-
backgroundColorStyles,
|
|
217
|
+
backgroundColorStyles,
|
|
218
218
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
219
219
|
textHighlightPaddingStyles,
|
|
220
220
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -232,7 +232,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
232
232
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
233
233
|
ruleStyles,
|
|
234
234
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
235
|
-
smartCardDiffStyles,
|
|
235
|
+
smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ?
|
|
236
236
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
237
237
|
showDiffDeletedNodeStylesNew :
|
|
238
238
|
// 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 = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -78,12 +78,8 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
78
78
|
}, jsx("div", _extends({
|
|
79
79
|
css: editorContainerStyles
|
|
80
80
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
81
|
-
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) ?
|
|
82
|
-
'data-vc-ignore-if-no-layout-shift': true
|
|
83
|
-
'data-ssr-placeholder': 'fallback'
|
|
84
|
-
} : {
|
|
85
|
-
'data-vc-ignore-if-no-layout-shift': true,
|
|
86
|
-
'data-ssr-placeholder-replace': 'fallback'
|
|
81
|
+
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) ? {
|
|
82
|
+
'data-vc-ignore-if-no-layout-shift': true
|
|
87
83
|
} : {}), jsx(EditorContext, {
|
|
88
84
|
editorActions: editorActions
|
|
89
85
|
}, jsx(IntlProviderIfMissingWrapper, null, jsx(Fragment, null, jsx(ReactEditorViewNext, {
|
|
@@ -695,7 +695,9 @@ export function ReactEditorView(props) {
|
|
|
695
695
|
id: EDIT_AREA_ID,
|
|
696
696
|
"aria-describedby": assistiveDescribedBy,
|
|
697
697
|
"data-editor-id": editorId.current,
|
|
698
|
-
"data-vc-ignore-if-no-layout-shift": true
|
|
698
|
+
"data-vc-ignore-if-no-layout-shift": true,
|
|
699
|
+
"data-ssr-placeholder": expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? 'editor-view' : undefined,
|
|
700
|
+
"data-ssr-placeholder-replace": expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? 'editor-view' : undefined
|
|
699
701
|
// eslint-disable-next-line react/no-danger -- needed for SSR and hydration so react keeps the HTML untouched
|
|
700
702
|
,
|
|
701
703
|
dangerouslySetInnerHTML: expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? {
|
|
@@ -210,7 +210,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
210
210
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
211
211
|
textColorStyles,
|
|
212
212
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
213
|
-
backgroundColorStyles,
|
|
213
|
+
backgroundColorStyles,
|
|
214
214
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
215
215
|
textHighlightPaddingStyles,
|
|
216
216
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -228,7 +228,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
228
228
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
229
229
|
ruleStyles,
|
|
230
230
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
231
|
-
smartCardDiffStyles,
|
|
231
|
+
smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ?
|
|
232
232
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
233
233
|
showDiffDeletedNodeStylesNew :
|
|
234
234
|
// 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 = "
|
|
2
|
+
export var version = "0.0.0-development";
|
|
@@ -401,7 +401,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
401
401
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
402
402
|
};
|
|
403
403
|
commands: {
|
|
404
|
-
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
404
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
405
|
};
|
|
407
406
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -493,6 +492,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
493
492
|
commands: {
|
|
494
493
|
addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
495
494
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
495
|
+
removeQuickInsertItem: (key: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
496
496
|
};
|
|
497
497
|
dependencies: [import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/metrics").MetricsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
498
498
|
pluginConfiguration: import("@atlaskit/editor-plugin-quick-insert").QuickInsertPluginOptions | undefined;
|
|
@@ -474,7 +474,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
474
474
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
475
475
|
};
|
|
476
476
|
commands: {
|
|
477
|
-
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
478
477
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
479
478
|
};
|
|
480
479
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -566,6 +565,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
566
565
|
commands: {
|
|
567
566
|
addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
568
567
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
568
|
+
removeQuickInsertItem: (key: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
569
569
|
};
|
|
570
570
|
dependencies: [import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/metrics").MetricsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
571
571
|
pluginConfiguration: import("@atlaskit/editor-plugin-quick-insert").QuickInsertPluginOptions | undefined;
|
|
@@ -401,7 +401,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
401
401
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
402
402
|
};
|
|
403
403
|
commands: {
|
|
404
|
-
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
404
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
405
|
};
|
|
407
406
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
@@ -493,6 +492,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
493
492
|
commands: {
|
|
494
493
|
addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
495
494
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
495
|
+
removeQuickInsertItem: (key: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
496
496
|
};
|
|
497
497
|
dependencies: [import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-connectivity").ConnectivityPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/metrics").MetricsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
498
498
|
pluginConfiguration: import("@atlaskit/editor-plugin-quick-insert").QuickInsertPluginOptions | undefined;
|
|
@@ -566,7 +566,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
566
566
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
567
567
|
};
|
|
568
568
|
commands: {
|
|
569
|
-
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
569
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
571
570
|
};
|
|
572
571
|
dependencies: [
|
|
@@ -694,6 +693,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
694
693
|
commands: {
|
|
695
694
|
addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
696
695
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
696
|
+
removeQuickInsertItem: (key: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
697
697
|
};
|
|
698
698
|
dependencies: [
|
|
699
699
|
import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin,
|
|
@@ -639,7 +639,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
639
639
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
640
640
|
};
|
|
641
641
|
commands: {
|
|
642
|
-
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
643
642
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
644
643
|
};
|
|
645
644
|
dependencies: [
|
|
@@ -767,6 +766,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
767
766
|
commands: {
|
|
768
767
|
addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
769
768
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
769
|
+
removeQuickInsertItem: (key: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
770
770
|
};
|
|
771
771
|
dependencies: [
|
|
772
772
|
import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin,
|
|
@@ -566,7 +566,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
566
566
|
registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
|
|
567
567
|
};
|
|
568
568
|
commands: {
|
|
569
|
-
formatNode: (targetType: import("@atlaskit/editor-plugins/block-menu").FormatNodeTargetType, analyticsAttrs?: import("@atlaskit/editor-plugins/block-menu").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
570
569
|
transformNode: (targetType: import("prosemirror-model").NodeType, metadata?: import("@atlaskit/editor-plugins/block-menu").TransformNodeMetadata) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
571
570
|
};
|
|
572
571
|
dependencies: [
|
|
@@ -694,6 +693,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
694
693
|
commands: {
|
|
695
694
|
addQuickInsertItem: (item: import("@atlaskit/editor-common/types").QuickInsertHandler) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
696
695
|
openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
|
|
696
|
+
removeQuickInsertItem: (key: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
697
697
|
};
|
|
698
698
|
dependencies: [
|
|
699
699
|
import("@atlaskit/editor-plugins/type-ahead").TypeAheadPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.7.
|
|
3
|
+
"version": "216.7.26",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
50
50
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
51
51
|
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^7.
|
|
52
|
+
"@atlaskit/editor-plugin-quick-insert": "^7.2.0",
|
|
53
53
|
"@atlaskit/editor-plugin-user-preferences": "^5.0.0",
|
|
54
54
|
"@atlaskit/editor-plugins": "^12.0.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"@atlaskit/mention": "^24.4.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
|
-
"@atlaskit/react-ufo": "^5.
|
|
67
|
+
"@atlaskit/react-ufo": "^5.1.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^20.2.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -314,9 +314,6 @@
|
|
|
314
314
|
"type": "boolean",
|
|
315
315
|
"referenceOnly": true
|
|
316
316
|
},
|
|
317
|
-
"platform_editor_text_highlight_padding": {
|
|
318
|
-
"type": "boolean"
|
|
319
|
-
},
|
|
320
317
|
"platform_editor_toolbar_aifc_placement_overridden": {
|
|
321
318
|
"type": "boolean"
|
|
322
319
|
},
|
|
@@ -347,9 +344,6 @@
|
|
|
347
344
|
"platform_editor_context_context_types_migration": {
|
|
348
345
|
"type": "boolean"
|
|
349
346
|
},
|
|
350
|
-
"platform_editor_jan_a11y_fixes": {
|
|
351
|
-
"type": "boolean"
|
|
352
|
-
},
|
|
353
347
|
"platform_editor_a11y_9262": {
|
|
354
348
|
"type": "boolean"
|
|
355
349
|
},
|
package/tsconfig.json
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
"extends": "../../../tsconfig.json",
|
|
3
|
+
"include": [
|
|
4
|
+
"./src/**/*.ts",
|
|
5
|
+
"./src/**/*.tsx",
|
|
6
|
+
"./docs/**/*.ts",
|
|
7
|
+
"./docs/**/*.tsx",
|
|
8
|
+
"./examples/**/*.ts",
|
|
9
|
+
"./examples/**/*.tsx",
|
|
10
|
+
"./example-helpers/**/*.ts",
|
|
11
|
+
"./example-helpers/**/*.tsx",
|
|
12
|
+
"./playwright/**/*.ts",
|
|
13
|
+
"**/stories.ts",
|
|
14
|
+
"**/stories.tsx",
|
|
15
|
+
"**/stories/*.ts",
|
|
16
|
+
"**/stories/*.tsx",
|
|
17
|
+
"**/stories/**/*.ts",
|
|
18
|
+
"**/stories/**/*.tsx"
|
|
19
|
+
],
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"moduleResolution": "node"
|
|
22
|
+
}
|
|
21
23
|
}
|