@atlaskit/editor-core 215.7.0 → 215.8.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 +17 -0
- package/afm-products/tsconfig.json +115 -0
- package/dist/cjs/create-editor/ReactEditorView.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +2 -0
- package/dist/types/presets/universal.d.ts +9 -0
- package/dist/types/presets/useUniversalPreset.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +2 -0
- package/dist/types-ts4.5/presets/universal.d.ts +9 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +2 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`301c7dd0ccdd2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/301c7dd0ccdd2) -
|
|
8
|
+
Adds new `contextualFormattingEnabled` plugin option to editor-plugin-toolbar. This has 3 options
|
|
9
|
+
(always-inline, always-pinned and controlled) to allow direct control over toolbar placement in
|
|
10
|
+
the editor.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`b2520b000ee03`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2520b000ee03) -
|
|
15
|
+
ED-29593 cleanup platform_editor_ttvc_nodes_in_viewport
|
|
16
|
+
- [`c28cd65d12c24`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c28cd65d12c24) -
|
|
17
|
+
EDITOR-2447 Bump adf-schema to 51.3.1
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 215.7.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.products.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__editor-core/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/stories/*",
|
|
19
|
+
"../src/**/examples.*",
|
|
20
|
+
"../src/**/examples/*",
|
|
21
|
+
"../src/**/examples/**/*",
|
|
22
|
+
"../src/**/*.stories.*",
|
|
23
|
+
"../src/**/stories/*",
|
|
24
|
+
"../src/**/stories/**/*"
|
|
25
|
+
],
|
|
26
|
+
"references": [
|
|
27
|
+
{
|
|
28
|
+
"path": "../../activity-provider/afm-products/tsconfig.json"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-products/tsconfig.json"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "../../../analytics/analytics-next/afm-products/tsconfig.json"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "../../../design-system/button/afm-products/tsconfig.json"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "../../../design-system/css/afm-products/tsconfig.json"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"path": "../../editor-json-transformer/afm-products/tsconfig.json"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "../../editor-performance-metrics/afm-products/tsconfig.json"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "../../editor-plugin-quick-insert/afm-products/tsconfig.json"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"path": "../../editor-plugin-user-preferences/afm-products/tsconfig.json"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"path": "../../editor-plugins/afm-products/tsconfig.json"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"path": "../../editor-shared-styles/afm-products/tsconfig.json"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"path": "../../editor-toolbar/afm-products/tsconfig.json"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"path": "../../editor-toolbar-model/afm-products/tsconfig.json"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"path": "../../../elements/emoji/afm-products/tsconfig.json"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"path": "../../../design-system/icon/afm-products/tsconfig.json"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"path": "../../../design-system/link/afm-products/tsconfig.json"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"path": "../../../media/media-card/afm-products/tsconfig.json"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"path": "../../../elements/mention/afm-products/tsconfig.json"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"path": "../../../platform/feature-flags/afm-products/tsconfig.json"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"path": "../../../platform/feature-flags-react/afm-products/tsconfig.json"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"path": "../../../elements/task-decision/afm-products/tsconfig.json"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"path": "../../tmp-editor-statsig/afm-products/tsconfig.json"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"path": "../../../design-system/tokens/afm-products/tsconfig.json"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"path": "../../../design-system/tooltip/afm-products/tsconfig.json"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"path": "../../../design-system/width-detector/afm-products/tsconfig.json"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"path": "../../editor-common/afm-products/tsconfig.json"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"path": "../../../linking-platform/link-provider/afm-products/tsconfig.json"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"path": "../../../media/media-core/afm-products/tsconfig.json"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
@@ -440,7 +440,7 @@ function ReactEditorView(props) {
|
|
|
440
440
|
var nodes = (0, _getNodesCount.getNodesCount)(viewRef.current.state.doc);
|
|
441
441
|
var ttfb = (0, _navigation.getResponseEndTime)();
|
|
442
442
|
var contextIdentifier = (_pluginInjectionAPI$c2 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c2 === void 0 ? void 0 : _pluginInjectionAPI$c2.sharedState.currentState();
|
|
443
|
-
var nodesInViewport = (0,
|
|
443
|
+
var nodesInViewport = (0, _getNodesVisibleInViewport.getNodesVisibleInViewport)(viewRef.current.dom);
|
|
444
444
|
var nodeSize = viewRef.current.state.doc.nodeSize;
|
|
445
445
|
var _ref4 = (0, _expValEquals.expValEquals)('cc_editor_insm_doc_size_stats', 'isEnabled', true) ? {
|
|
446
446
|
totalNodes: Object.values(nodes).reduce(function (acc, curr) {
|
|
@@ -410,7 +410,7 @@ export function ReactEditorView(props) {
|
|
|
410
410
|
const nodes = getNodesCount(viewRef.current.state.doc);
|
|
411
411
|
const ttfb = getResponseEndTime();
|
|
412
412
|
const contextIdentifier = (_pluginInjectionAPI$c4 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c4 === void 0 ? void 0 : _pluginInjectionAPI$c4.sharedState.currentState();
|
|
413
|
-
const nodesInViewport =
|
|
413
|
+
const nodesInViewport = getNodesVisibleInViewport(viewRef.current.dom);
|
|
414
414
|
const nodeSize = viewRef.current.state.doc.nodeSize;
|
|
415
415
|
const {
|
|
416
416
|
totalNodes,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.
|
|
2
|
+
export const version = "215.7.0";
|
|
@@ -430,7 +430,7 @@ export function ReactEditorView(props) {
|
|
|
430
430
|
var nodes = getNodesCount(viewRef.current.state.doc);
|
|
431
431
|
var ttfb = getResponseEndTime();
|
|
432
432
|
var contextIdentifier = (_pluginInjectionAPI$c2 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c2 === void 0 ? void 0 : _pluginInjectionAPI$c2.sharedState.currentState();
|
|
433
|
-
var nodesInViewport =
|
|
433
|
+
var nodesInViewport = getNodesVisibleInViewport(viewRef.current.dom);
|
|
434
434
|
var nodeSize = viewRef.current.state.doc.nodeSize;
|
|
435
435
|
var _ref4 = expValEquals('cc_editor_insm_doc_size_stats', 'isEnabled', true) ? {
|
|
436
436
|
totalNodes: Object.values(nodes).reduce(function (acc, curr) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.
|
|
2
|
+
export var version = "215.7.0";
|
|
@@ -409,6 +409,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
409
409
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
410
410
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
411
411
|
actions: {
|
|
412
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
412
413
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
413
414
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
414
415
|
};
|
|
@@ -547,6 +548,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
547
548
|
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
548
549
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
549
550
|
actions: {
|
|
551
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
550
552
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
551
553
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
552
554
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
|
+
import type { ContextualFormattingEnabledOptions } from '@atlaskit/editor-common/toolbar';
|
|
2
3
|
import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
4
|
import type { ToolbarInsertBlockButtonsConfig } from '@atlaskit/editor-plugin-insert-block';
|
|
4
5
|
import { type ExtensionPluginOptions } from '@atlaskit/editor-plugins/extension';
|
|
@@ -39,6 +40,12 @@ export type InitialPluginConfiguration = {
|
|
|
39
40
|
taskPlaceholder?: string;
|
|
40
41
|
};
|
|
41
42
|
toolbarPlugin?: {
|
|
43
|
+
contextualFormattingEnabled?: ContextualFormattingEnabledOptions;
|
|
44
|
+
/**
|
|
45
|
+
* The disableSelectionToolbar option is deprecated and will be removed in the future, replaced with `contextualFormattingEnabled`.
|
|
46
|
+
*
|
|
47
|
+
* To disable the selection toolbar (so only the primary toolbar is shown), use `contextualFormattingEnabled: 'always-pinned'`.
|
|
48
|
+
*/
|
|
42
49
|
disableSelectionToolbar?: boolean;
|
|
43
50
|
enableNewToolbarExperience?: boolean;
|
|
44
51
|
};
|
|
@@ -473,6 +480,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
473
480
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
474
481
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
475
482
|
actions: {
|
|
483
|
+
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
476
484
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
477
485
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
478
486
|
};
|
|
@@ -611,6 +619,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
611
619
|
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
612
620
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
613
621
|
actions: {
|
|
622
|
+
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
614
623
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
615
624
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
616
625
|
};
|
|
@@ -409,6 +409,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
409
409
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
410
410
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
411
411
|
actions: {
|
|
412
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
412
413
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
413
414
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
414
415
|
};
|
|
@@ -547,6 +548,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
547
548
|
sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
548
549
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
549
550
|
actions: {
|
|
551
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
550
552
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
551
553
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
552
554
|
};
|
|
@@ -580,6 +580,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
580
580
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
581
581
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
582
582
|
actions: {
|
|
583
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
583
584
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
584
585
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
585
586
|
};
|
|
@@ -788,6 +789,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
788
789
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
|
|
789
790
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
790
791
|
actions: {
|
|
792
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
791
793
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
792
794
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
793
795
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
|
+
import type { ContextualFormattingEnabledOptions } from '@atlaskit/editor-common/toolbar';
|
|
2
3
|
import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
4
|
import type { ToolbarInsertBlockButtonsConfig } from '@atlaskit/editor-plugin-insert-block';
|
|
4
5
|
import { type ExtensionPluginOptions } from '@atlaskit/editor-plugins/extension';
|
|
@@ -39,6 +40,12 @@ export type InitialPluginConfiguration = {
|
|
|
39
40
|
taskPlaceholder?: string;
|
|
40
41
|
};
|
|
41
42
|
toolbarPlugin?: {
|
|
43
|
+
contextualFormattingEnabled?: ContextualFormattingEnabledOptions;
|
|
44
|
+
/**
|
|
45
|
+
* The disableSelectionToolbar option is deprecated and will be removed in the future, replaced with `contextualFormattingEnabled`.
|
|
46
|
+
*
|
|
47
|
+
* To disable the selection toolbar (so only the primary toolbar is shown), use `contextualFormattingEnabled: 'always-pinned'`.
|
|
48
|
+
*/
|
|
42
49
|
disableSelectionToolbar?: boolean;
|
|
43
50
|
enableNewToolbarExperience?: boolean;
|
|
44
51
|
};
|
|
@@ -644,6 +651,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
644
651
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
645
652
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
646
653
|
actions: {
|
|
654
|
+
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
647
655
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
648
656
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
649
657
|
};
|
|
@@ -852,6 +860,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
852
860
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
|
|
853
861
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
854
862
|
actions: {
|
|
863
|
+
contextualFormattingMode: () => ContextualFormattingEnabledOptions;
|
|
855
864
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
856
865
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
857
866
|
};
|
|
@@ -580,6 +580,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
580
580
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
581
581
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
582
582
|
actions: {
|
|
583
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
583
584
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
584
585
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
585
586
|
};
|
|
@@ -788,6 +789,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
788
789
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
|
|
789
790
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbar", {
|
|
790
791
|
actions: {
|
|
792
|
+
contextualFormattingMode: () => import("@atlaskit/editor-common/toolbar").ContextualFormattingEnabledOptions;
|
|
791
793
|
getComponents: () => Array<import("@atlaskit/editor-toolbar-model").RegisterComponent>;
|
|
792
794
|
registerComponents: import("packages/editor/editor-plugin-toolbar/dist/types/types").RegisterComponentsAction;
|
|
793
795
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.
|
|
3
|
+
"version": "215.8.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": "^51.3.
|
|
42
|
+
"@atlaskit/adf-schema": "^51.3.1",
|
|
43
43
|
"@atlaskit/afm-i18n-platform-editor-editor-core": "2.7.0",
|
|
44
44
|
"@atlaskit/analytics-namespaced-context": "^7.1.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"uuid": "^3.1.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@atlaskit/editor-common": "^110.
|
|
84
|
+
"@atlaskit/editor-common": "^110.18.0",
|
|
85
85
|
"@atlaskit/link-provider": "^4.0.0",
|
|
86
86
|
"@atlaskit/media-core": "^37.0.0",
|
|
87
87
|
"react": "^18.2.0",
|
|
@@ -450,6 +450,9 @@
|
|
|
450
450
|
"platform_editor_text_highlight_padding": {
|
|
451
451
|
"type": "boolean"
|
|
452
452
|
},
|
|
453
|
+
"platform_editor_toolbar_aifc_placement_config": {
|
|
454
|
+
"type": "boolean"
|
|
455
|
+
},
|
|
453
456
|
"platform_editor_toolbar_aifc_patch_7": {
|
|
454
457
|
"type": "boolean"
|
|
455
458
|
},
|