@atlaskit/editor-core 191.5.1 → 191.6.1
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 +24 -0
- package/afm-cc/tsconfig.json +1 -211
- package/dist/cjs/composable-editor/editor.js +2 -2
- package/dist/cjs/create-editor/create-preset.js +2 -0
- package/dist/cjs/i18n/cs.js +1 -38
- package/dist/cjs/i18n/da.js +1 -37
- package/dist/cjs/i18n/de.js +1 -37
- package/dist/cjs/i18n/en.js +1 -39
- package/dist/cjs/i18n/en_GB.js +1 -39
- package/dist/cjs/i18n/en_ZZ.js +1 -39
- package/dist/cjs/i18n/es.js +1 -37
- package/dist/cjs/i18n/fi.js +1 -37
- package/dist/cjs/i18n/fr.js +1 -37
- package/dist/cjs/i18n/hu.js +1 -37
- package/dist/cjs/i18n/it.js +1 -37
- package/dist/cjs/i18n/ja.js +1 -37
- package/dist/cjs/i18n/ko.js +1 -37
- package/dist/cjs/i18n/nb.js +1 -37
- package/dist/cjs/i18n/nl.js +1 -37
- package/dist/cjs/i18n/pl.js +1 -37
- package/dist/cjs/i18n/pt_BR.js +1 -37
- package/dist/cjs/i18n/ru.js +1 -37
- package/dist/cjs/i18n/sv.js +1 -37
- package/dist/cjs/i18n/th.js +1 -37
- package/dist/cjs/i18n/tr.js +1 -37
- package/dist/cjs/i18n/uk.js +1 -37
- package/dist/cjs/i18n/vi.js +1 -37
- package/dist/cjs/i18n/zh.js +1 -37
- package/dist/cjs/i18n/zh_TW.js +1 -37
- package/dist/cjs/labs-next.js +1 -1
- package/dist/cjs/presets/default.js +32 -32
- package/dist/cjs/presets/universal.js +70 -70
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +5 -5
- package/dist/cjs/ui/ContentStyles/layout.js +2 -2
- package/dist/cjs/ui/WithHelpTrigger/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor.js +1 -1
- package/dist/es2019/create-editor/create-preset.js +2 -0
- package/dist/es2019/i18n/cs.js +1 -38
- package/dist/es2019/i18n/da.js +1 -37
- package/dist/es2019/i18n/de.js +1 -37
- package/dist/es2019/i18n/en.js +1 -39
- package/dist/es2019/i18n/en_GB.js +1 -39
- package/dist/es2019/i18n/en_ZZ.js +1 -39
- package/dist/es2019/i18n/es.js +1 -37
- package/dist/es2019/i18n/fi.js +1 -37
- package/dist/es2019/i18n/fr.js +1 -37
- package/dist/es2019/i18n/hu.js +1 -37
- package/dist/es2019/i18n/it.js +1 -37
- package/dist/es2019/i18n/ja.js +1 -37
- package/dist/es2019/i18n/ko.js +1 -37
- package/dist/es2019/i18n/nb.js +1 -37
- package/dist/es2019/i18n/nl.js +1 -37
- package/dist/es2019/i18n/pl.js +1 -37
- package/dist/es2019/i18n/pt_BR.js +1 -37
- package/dist/es2019/i18n/ru.js +1 -37
- package/dist/es2019/i18n/sv.js +1 -37
- package/dist/es2019/i18n/th.js +1 -37
- package/dist/es2019/i18n/tr.js +1 -37
- package/dist/es2019/i18n/uk.js +1 -37
- package/dist/es2019/i18n/vi.js +1 -37
- package/dist/es2019/i18n/zh.js +1 -37
- package/dist/es2019/i18n/zh_TW.js +1 -37
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/labs-next.js +1 -1
- package/dist/es2019/presets/default.js +28 -28
- package/dist/es2019/presets/universal.js +45 -45
- package/dist/es2019/test-utils.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/es2019/ui/ContentStyles/expand.js +2 -2
- package/dist/es2019/ui/ContentStyles/index.js +5 -5
- package/dist/es2019/ui/ContentStyles/layout.js +2 -2
- package/dist/es2019/ui/WithHelpTrigger/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor.js +1 -1
- package/dist/esm/create-editor/create-preset.js +2 -0
- package/dist/esm/i18n/cs.js +1 -38
- package/dist/esm/i18n/da.js +1 -37
- package/dist/esm/i18n/de.js +1 -37
- package/dist/esm/i18n/en.js +1 -39
- package/dist/esm/i18n/en_GB.js +1 -39
- package/dist/esm/i18n/en_ZZ.js +1 -39
- package/dist/esm/i18n/es.js +1 -37
- package/dist/esm/i18n/fi.js +1 -37
- package/dist/esm/i18n/fr.js +1 -37
- package/dist/esm/i18n/hu.js +1 -37
- package/dist/esm/i18n/it.js +1 -37
- package/dist/esm/i18n/ja.js +1 -37
- package/dist/esm/i18n/ko.js +1 -37
- package/dist/esm/i18n/nb.js +1 -37
- package/dist/esm/i18n/nl.js +1 -37
- package/dist/esm/i18n/pl.js +1 -37
- package/dist/esm/i18n/pt_BR.js +1 -37
- package/dist/esm/i18n/ru.js +1 -37
- package/dist/esm/i18n/sv.js +1 -37
- package/dist/esm/i18n/th.js +1 -37
- package/dist/esm/i18n/tr.js +1 -37
- package/dist/esm/i18n/uk.js +1 -37
- package/dist/esm/i18n/vi.js +1 -37
- package/dist/esm/i18n/zh.js +1 -37
- package/dist/esm/i18n/zh_TW.js +1 -37
- package/dist/esm/index.js +2 -2
- package/dist/esm/labs-next.js +1 -1
- package/dist/esm/presets/default.js +28 -28
- package/dist/esm/presets/universal.js +45 -45
- package/dist/esm/test-utils.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/esm/ui/ContentStyles/expand.js +2 -2
- package/dist/esm/ui/ContentStyles/index.js +5 -5
- package/dist/esm/ui/ContentStyles/layout.js +2 -2
- package/dist/esm/ui/WithHelpTrigger/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types/create-editor/create-preset.d.ts +3054 -2
- package/dist/types/i18n/cs.d.ts +0 -37
- package/dist/types/i18n/da.d.ts +0 -36
- package/dist/types/i18n/de.d.ts +0 -36
- package/dist/types/i18n/en.d.ts +0 -38
- package/dist/types/i18n/en_GB.d.ts +0 -38
- package/dist/types/i18n/en_ZZ.d.ts +0 -38
- package/dist/types/i18n/es.d.ts +0 -36
- package/dist/types/i18n/fi.d.ts +0 -36
- package/dist/types/i18n/fr.d.ts +0 -36
- package/dist/types/i18n/hu.d.ts +0 -36
- package/dist/types/i18n/it.d.ts +0 -36
- package/dist/types/i18n/ja.d.ts +0 -36
- package/dist/types/i18n/ko.d.ts +0 -36
- package/dist/types/i18n/nb.d.ts +0 -36
- package/dist/types/i18n/nl.d.ts +0 -36
- package/dist/types/i18n/pl.d.ts +0 -36
- package/dist/types/i18n/pt_BR.d.ts +0 -36
- package/dist/types/i18n/ru.d.ts +0 -36
- package/dist/types/i18n/sv.d.ts +0 -36
- package/dist/types/i18n/th.d.ts +0 -36
- package/dist/types/i18n/tr.d.ts +0 -36
- package/dist/types/i18n/uk.d.ts +0 -36
- package/dist/types/i18n/vi.d.ts +0 -36
- package/dist/types/i18n/zh.d.ts +0 -36
- package/dist/types/i18n/zh_TW.d.ts +0 -36
- package/dist/types/index.d.ts +4 -4
- package/dist/types/labs-next.d.ts +1 -1
- package/dist/types/presets/default.d.ts +770 -730
- package/dist/types/presets/universal.d.ts +3055 -4
- package/dist/types/presets/useUniversalPreset.d.ts +3054 -2
- package/dist/types/types/editor-props.d.ts +12 -12
- package/dist/types/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types/utils/action.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +3829 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -37
- package/dist/types-ts4.5/i18n/da.d.ts +0 -36
- package/dist/types-ts4.5/i18n/de.d.ts +0 -36
- package/dist/types-ts4.5/i18n/en.d.ts +0 -38
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -38
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -38
- package/dist/types-ts4.5/i18n/es.d.ts +0 -36
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -36
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -36
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -36
- package/dist/types-ts4.5/i18n/it.d.ts +0 -36
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -36
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -36
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -36
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -36
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -36
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -36
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -36
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -36
- package/dist/types-ts4.5/i18n/th.d.ts +0 -36
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -36
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -36
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -36
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -36
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -36
- package/dist/types-ts4.5/index.d.ts +4 -4
- package/dist/types-ts4.5/labs-next.d.ts +1 -1
- package/dist/types-ts4.5/presets/default.d.ts +774 -730
- package/dist/types-ts4.5/presets/universal.d.ts +3830 -4
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +3829 -2
- package/dist/types-ts4.5/types/editor-props.d.ts +12 -12
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/action.d.ts +2 -2
- package/docs/0-intro.tsx +5 -5
- package/package.json +21 -154
- package/tsconfig.json +193 -166
- package/dist/cjs/presets/types.js +0 -5
- package/dist/es2019/presets/types.js +0 -1
- package/dist/esm/presets/types.js +0 -1
- package/dist/types/presets/types.d.ts +0 -6
- package/dist/types-ts4.5/presets/types.d.ts +0 -6
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
3
|
import type { SelectionPluginOptions } from '@atlaskit/editor-common/selection';
|
|
4
|
-
import type { EditorAppearance, HyperlinkPluginOptions, QuickInsertPluginOptions, TextFormattingOptions } from '@atlaskit/editor-common/types';
|
|
5
|
-
import type { AnnotationProviders } from '@atlaskit/editor-
|
|
6
|
-
import type { BasePluginOptions } from '@atlaskit/editor-
|
|
7
|
-
import type { BlockTypePluginOptions } from '@atlaskit/editor-
|
|
8
|
-
import type { CodeBlockOptions } from '@atlaskit/editor-
|
|
9
|
-
import type { PastePluginOptions } from '@atlaskit/editor-
|
|
10
|
-
import type { PlaceholderPluginOptions } from '@atlaskit/editor-
|
|
11
|
-
import type { TypeAheadPluginOptions } from '@atlaskit/editor-
|
|
12
|
-
import type {
|
|
13
|
-
import type { EditorPresetProps } from './types';
|
|
4
|
+
import type { EditorAppearance, FeatureFlags, HyperlinkPluginOptions, PerformanceTracking, QuickInsertPluginOptions, TextFormattingOptions } from '@atlaskit/editor-common/types';
|
|
5
|
+
import type { AnnotationProviders } from '@atlaskit/editor-plugins/annotation';
|
|
6
|
+
import type { BasePluginOptions } from '@atlaskit/editor-plugins/base';
|
|
7
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugins/block-type';
|
|
8
|
+
import type { CodeBlockOptions } from '@atlaskit/editor-plugins/code-block';
|
|
9
|
+
import type { PastePluginOptions } from '@atlaskit/editor-plugins/paste';
|
|
10
|
+
import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugins/placeholder';
|
|
11
|
+
import type { TypeAheadPluginOptions } from '@atlaskit/editor-plugins/type-ahead';
|
|
12
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
14
13
|
export type DefaultPresetPluginOptions = {
|
|
15
14
|
paste: PastePluginOptions;
|
|
16
15
|
base?: BasePluginOptions;
|
|
17
16
|
blockType?: BlockTypePluginOptions;
|
|
18
17
|
placeholder?: PlaceholderPluginOptions;
|
|
19
18
|
textFormatting?: TextFormattingOptions;
|
|
20
|
-
submitEditor?:
|
|
19
|
+
submitEditor?: (editorView: EditorView) => void;
|
|
21
20
|
annotationProviders?: AnnotationProviders;
|
|
22
21
|
quickInsert?: QuickInsertPluginOptions;
|
|
23
22
|
codeBlock?: CodeBlockOptions;
|
|
@@ -26,15 +25,16 @@ export type DefaultPresetPluginOptions = {
|
|
|
26
25
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
27
26
|
typeAhead?: TypeAheadPluginOptions;
|
|
28
27
|
allowAnalyticsGASV3?: boolean;
|
|
29
|
-
performanceTracking?:
|
|
28
|
+
performanceTracking?: PerformanceTracking;
|
|
30
29
|
appearance?: EditorAppearance | undefined;
|
|
31
30
|
allowUndoRedoButtons?: boolean;
|
|
31
|
+
featureFlags?: FeatureFlags;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Note: The order that presets are added determines
|
|
35
35
|
* their placement in the editor toolbar
|
|
36
36
|
*/
|
|
37
|
-
export declare function createDefaultPreset(options:
|
|
37
|
+
export declare function createDefaultPreset(options: DefaultPresetPluginOptions): EditorPresetBuilder<[
|
|
38
38
|
"codeBlock",
|
|
39
39
|
"selection",
|
|
40
40
|
"floatingToolbar",
|
|
@@ -68,51 +68,51 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
68
68
|
pluginConfiguration: CodeBlockOptions;
|
|
69
69
|
dependencies: [
|
|
70
70
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
71
|
-
sharedState: import("@atlaskit/editor-
|
|
71
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
72
72
|
actions: {
|
|
73
73
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
74
74
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
75
75
|
};
|
|
76
76
|
}, undefined>,
|
|
77
77
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
78
|
-
sharedState: import("@atlaskit/editor-
|
|
78
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
79
79
|
}, undefined>,
|
|
80
80
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
81
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
81
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
82
82
|
sharedState: {
|
|
83
83
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
84
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
85
|
-
performanceTracking:
|
|
84
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
85
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
86
86
|
};
|
|
87
87
|
dependencies: [
|
|
88
88
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
89
|
-
pluginConfiguration:
|
|
90
|
-
sharedState:
|
|
91
|
-
},
|
|
89
|
+
pluginConfiguration: FeatureFlags;
|
|
90
|
+
sharedState: FeatureFlags;
|
|
91
|
+
}, FeatureFlags>>
|
|
92
92
|
];
|
|
93
93
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
94
|
-
}, import("@atlaskit/editor-
|
|
94
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
95
95
|
];
|
|
96
96
|
actions: {
|
|
97
97
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
98
98
|
};
|
|
99
99
|
}, CodeBlockOptions>,
|
|
100
100
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
101
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
102
|
-
actions: import("@atlaskit/editor-
|
|
101
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
102
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
103
103
|
commands: {
|
|
104
104
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
105
105
|
};
|
|
106
106
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
107
|
-
}, import("@atlaskit/editor-
|
|
107
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
108
108
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
109
109
|
dependencies: [
|
|
110
110
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
111
|
-
pluginConfiguration:
|
|
112
|
-
sharedState:
|
|
113
|
-
},
|
|
111
|
+
pluginConfiguration: FeatureFlags;
|
|
112
|
+
sharedState: FeatureFlags;
|
|
113
|
+
}, FeatureFlags>>,
|
|
114
114
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
115
|
-
sharedState: import("@atlaskit/editor-
|
|
115
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
116
116
|
actions: {
|
|
117
117
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
118
118
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -127,29 +127,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
127
127
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
128
128
|
dependencies: [
|
|
129
129
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
130
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
130
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
131
131
|
sharedState: {
|
|
132
132
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
133
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
134
|
-
performanceTracking:
|
|
133
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
134
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
135
135
|
};
|
|
136
136
|
dependencies: [
|
|
137
137
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
138
|
-
pluginConfiguration:
|
|
139
|
-
sharedState:
|
|
140
|
-
},
|
|
138
|
+
pluginConfiguration: FeatureFlags;
|
|
139
|
+
sharedState: FeatureFlags;
|
|
140
|
+
}, FeatureFlags>>
|
|
141
141
|
];
|
|
142
142
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
143
|
-
}, import("@atlaskit/editor-
|
|
143
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
144
144
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
145
|
-
pluginConfiguration:
|
|
146
|
-
sharedState:
|
|
147
|
-
},
|
|
145
|
+
pluginConfiguration: FeatureFlags;
|
|
146
|
+
sharedState: FeatureFlags;
|
|
147
|
+
}, FeatureFlags>>,
|
|
148
148
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
149
149
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
150
150
|
}, undefined>,
|
|
151
151
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
152
|
-
sharedState: import("@atlaskit/editor-
|
|
152
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
153
153
|
actions: {
|
|
154
154
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
155
155
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -167,7 +167,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
167
167
|
actions: {
|
|
168
168
|
editSelectedExtension: () => boolean;
|
|
169
169
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
170
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
170
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
171
171
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
172
172
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
173
173
|
};
|
|
@@ -175,27 +175,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
175
175
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
176
176
|
dependencies: [
|
|
177
177
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
178
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
178
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
179
179
|
sharedState: {
|
|
180
180
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
181
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
182
|
-
performanceTracking:
|
|
181
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
182
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
183
183
|
};
|
|
184
184
|
dependencies: [
|
|
185
185
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
186
|
-
pluginConfiguration:
|
|
187
|
-
sharedState:
|
|
188
|
-
},
|
|
186
|
+
pluginConfiguration: FeatureFlags;
|
|
187
|
+
sharedState: FeatureFlags;
|
|
188
|
+
}, FeatureFlags>>
|
|
189
189
|
];
|
|
190
190
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
191
|
-
}, import("@atlaskit/editor-
|
|
191
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
192
192
|
];
|
|
193
193
|
actions: {
|
|
194
194
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
195
195
|
};
|
|
196
196
|
}, undefined>,
|
|
197
197
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
198
|
-
sharedState: import("@atlaskit/editor-
|
|
198
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
199
199
|
}, undefined>,
|
|
200
200
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
201
201
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -210,60 +210,60 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
210
210
|
} | undefined>>
|
|
211
211
|
];
|
|
212
212
|
actions: {
|
|
213
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
213
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
214
214
|
};
|
|
215
215
|
sharedState: {
|
|
216
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
217
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
216
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
217
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
218
218
|
} | undefined;
|
|
219
219
|
}, undefined>,
|
|
220
220
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
221
221
|
dependencies: [
|
|
222
222
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
223
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
223
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
224
224
|
sharedState: {
|
|
225
225
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
226
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
227
|
-
performanceTracking:
|
|
226
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
227
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
228
228
|
};
|
|
229
229
|
dependencies: [
|
|
230
230
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
231
|
-
pluginConfiguration:
|
|
232
|
-
sharedState:
|
|
233
|
-
},
|
|
231
|
+
pluginConfiguration: FeatureFlags;
|
|
232
|
+
sharedState: FeatureFlags;
|
|
233
|
+
}, FeatureFlags>>
|
|
234
234
|
];
|
|
235
235
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
236
|
-
}, import("@atlaskit/editor-
|
|
236
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
237
237
|
];
|
|
238
238
|
actions: {
|
|
239
239
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
240
240
|
};
|
|
241
241
|
}, undefined>,
|
|
242
242
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
243
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
243
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
244
244
|
dependencies: [
|
|
245
245
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
246
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
246
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
247
247
|
dependencies: [
|
|
248
248
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
249
|
-
pluginConfiguration:
|
|
250
|
-
sharedState:
|
|
251
|
-
},
|
|
249
|
+
pluginConfiguration: FeatureFlags;
|
|
250
|
+
sharedState: FeatureFlags;
|
|
251
|
+
}, FeatureFlags>>,
|
|
252
252
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
253
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
253
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
254
254
|
sharedState: {
|
|
255
255
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
256
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
257
|
-
performanceTracking:
|
|
256
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
257
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
258
258
|
};
|
|
259
259
|
dependencies: [
|
|
260
260
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
261
|
-
pluginConfiguration:
|
|
262
|
-
sharedState:
|
|
263
|
-
},
|
|
261
|
+
pluginConfiguration: FeatureFlags;
|
|
262
|
+
sharedState: FeatureFlags;
|
|
263
|
+
}, FeatureFlags>>
|
|
264
264
|
];
|
|
265
265
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
266
|
-
}, import("@atlaskit/editor-
|
|
266
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
267
267
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
268
268
|
dependencies: [
|
|
269
269
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -284,7 +284,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
284
284
|
];
|
|
285
285
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
286
286
|
actions: {
|
|
287
|
-
displayGrid: (view:
|
|
287
|
+
displayGrid: (view: EditorView) => (props: {
|
|
288
288
|
visible: boolean;
|
|
289
289
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
290
290
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -295,7 +295,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
295
295
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
296
296
|
}, undefined>,
|
|
297
297
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
298
|
-
sharedState: import("@atlaskit/editor-
|
|
298
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
299
299
|
actions: {
|
|
300
300
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
301
301
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -304,11 +304,11 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
304
304
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
305
305
|
dependencies: [
|
|
306
306
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
307
|
-
pluginConfiguration:
|
|
308
|
-
sharedState:
|
|
309
|
-
},
|
|
307
|
+
pluginConfiguration: FeatureFlags;
|
|
308
|
+
sharedState: FeatureFlags;
|
|
309
|
+
}, FeatureFlags>>,
|
|
310
310
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
311
|
-
sharedState: import("@atlaskit/editor-
|
|
311
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
312
312
|
actions: {
|
|
313
313
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
314
314
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -323,29 +323,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
323
323
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
324
324
|
dependencies: [
|
|
325
325
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
326
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
326
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
327
327
|
sharedState: {
|
|
328
328
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
329
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
330
|
-
performanceTracking:
|
|
329
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
330
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
331
331
|
};
|
|
332
332
|
dependencies: [
|
|
333
333
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
334
|
-
pluginConfiguration:
|
|
335
|
-
sharedState:
|
|
336
|
-
},
|
|
334
|
+
pluginConfiguration: FeatureFlags;
|
|
335
|
+
sharedState: FeatureFlags;
|
|
336
|
+
}, FeatureFlags>>
|
|
337
337
|
];
|
|
338
338
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
339
|
-
}, import("@atlaskit/editor-
|
|
339
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
340
340
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
341
|
-
pluginConfiguration:
|
|
342
|
-
sharedState:
|
|
343
|
-
},
|
|
341
|
+
pluginConfiguration: FeatureFlags;
|
|
342
|
+
sharedState: FeatureFlags;
|
|
343
|
+
}, FeatureFlags>>,
|
|
344
344
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
345
345
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
346
346
|
}, undefined>,
|
|
347
347
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
348
|
-
sharedState: import("@atlaskit/editor-
|
|
348
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
349
349
|
actions: {
|
|
350
350
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
351
351
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -363,7 +363,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
363
363
|
actions: {
|
|
364
364
|
editSelectedExtension: () => boolean;
|
|
365
365
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
366
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
366
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
367
367
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
368
368
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
369
369
|
};
|
|
@@ -371,27 +371,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
371
371
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
372
372
|
dependencies: [
|
|
373
373
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
374
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
374
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
375
375
|
sharedState: {
|
|
376
376
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
377
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
378
|
-
performanceTracking:
|
|
377
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
378
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
379
379
|
};
|
|
380
380
|
dependencies: [
|
|
381
381
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
382
|
-
pluginConfiguration:
|
|
383
|
-
sharedState:
|
|
384
|
-
},
|
|
382
|
+
pluginConfiguration: FeatureFlags;
|
|
383
|
+
sharedState: FeatureFlags;
|
|
384
|
+
}, FeatureFlags>>
|
|
385
385
|
];
|
|
386
386
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
387
|
-
}, import("@atlaskit/editor-
|
|
387
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
388
388
|
];
|
|
389
389
|
actions: {
|
|
390
390
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
391
391
|
};
|
|
392
392
|
}, undefined>,
|
|
393
393
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
394
|
-
sharedState: import("@atlaskit/editor-
|
|
394
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
395
395
|
}, undefined>,
|
|
396
396
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
397
397
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -406,15 +406,15 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
406
406
|
} | undefined>>
|
|
407
407
|
];
|
|
408
408
|
actions: {
|
|
409
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
409
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
410
410
|
};
|
|
411
411
|
sharedState: {
|
|
412
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
413
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
412
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
413
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
414
414
|
} | undefined;
|
|
415
415
|
}, undefined>,
|
|
416
416
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
417
|
-
sharedState: import("@atlaskit/editor-
|
|
417
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
418
418
|
}, undefined>,
|
|
419
419
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
420
420
|
sharedState: {
|
|
@@ -422,23 +422,23 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
422
422
|
};
|
|
423
423
|
}, undefined>,
|
|
424
424
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
425
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
426
|
-
actions: import("@atlaskit/editor-
|
|
425
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
426
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
427
427
|
commands: {
|
|
428
428
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
429
429
|
};
|
|
430
430
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
431
|
-
}, import("@atlaskit/editor-
|
|
431
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
432
432
|
];
|
|
433
|
-
sharedState: import("@atlaskit/editor-
|
|
433
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
434
434
|
actions: {
|
|
435
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
435
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
436
436
|
};
|
|
437
|
-
}, import("@atlaskit/editor-
|
|
437
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
438
438
|
];
|
|
439
|
-
}, import("@atlaskit/editor-
|
|
439
|
+
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
440
440
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
441
|
-
sharedState: import("@atlaskit/editor-
|
|
441
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
442
442
|
}, undefined>,
|
|
443
443
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>,
|
|
444
444
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
@@ -450,42 +450,42 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
450
450
|
};
|
|
451
451
|
}, undefined>,
|
|
452
452
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
453
|
-
sharedState: import("@atlaskit/editor-
|
|
453
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
454
454
|
}, undefined>,
|
|
455
455
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
456
456
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
457
457
|
dependencies: [
|
|
458
458
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
459
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
459
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
460
460
|
sharedState: {
|
|
461
461
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
462
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
463
|
-
performanceTracking:
|
|
462
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
463
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
464
464
|
};
|
|
465
465
|
dependencies: [
|
|
466
466
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
467
|
-
pluginConfiguration:
|
|
468
|
-
sharedState:
|
|
469
|
-
},
|
|
467
|
+
pluginConfiguration: FeatureFlags;
|
|
468
|
+
sharedState: FeatureFlags;
|
|
469
|
+
}, FeatureFlags>>
|
|
470
470
|
];
|
|
471
471
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
472
|
-
}, import("@atlaskit/editor-
|
|
472
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
473
473
|
];
|
|
474
|
-
sharedState: import("@atlaskit/editor-
|
|
474
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
475
475
|
actions: {
|
|
476
476
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
477
477
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
478
478
|
insert: (props: {
|
|
479
|
-
triggerHandler: import("@atlaskit/editor-
|
|
479
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
480
480
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
481
481
|
query: string;
|
|
482
482
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
483
483
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
484
484
|
}) => boolean;
|
|
485
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
485
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
486
486
|
open: (props: {
|
|
487
|
-
triggerHandler: import("@atlaskit/editor-
|
|
488
|
-
inputMethod: import("@atlaskit/editor-
|
|
487
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
488
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
489
489
|
query?: string | undefined;
|
|
490
490
|
}) => boolean;
|
|
491
491
|
close: (props: {
|
|
@@ -493,8 +493,8 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
493
493
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
494
494
|
}) => boolean;
|
|
495
495
|
openAtTransaction: (props: {
|
|
496
|
-
triggerHandler: import("@atlaskit/editor-
|
|
497
|
-
inputMethod: import("@atlaskit/editor-
|
|
496
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
497
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
498
498
|
query?: string | undefined;
|
|
499
499
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
500
500
|
};
|
|
@@ -508,36 +508,36 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
508
508
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
509
509
|
dependencies: [
|
|
510
510
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
511
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
511
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
512
512
|
sharedState: {
|
|
513
513
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
514
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
515
|
-
performanceTracking:
|
|
514
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
515
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
516
516
|
};
|
|
517
517
|
dependencies: [
|
|
518
518
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
519
|
-
pluginConfiguration:
|
|
520
|
-
sharedState:
|
|
521
|
-
},
|
|
519
|
+
pluginConfiguration: FeatureFlags;
|
|
520
|
+
sharedState: FeatureFlags;
|
|
521
|
+
}, FeatureFlags>>
|
|
522
522
|
];
|
|
523
523
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
524
|
-
}, import("@atlaskit/editor-
|
|
524
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
525
525
|
];
|
|
526
|
-
sharedState: import("@atlaskit/editor-
|
|
526
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
527
527
|
actions: {
|
|
528
528
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
529
529
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
530
530
|
insert: (props: {
|
|
531
|
-
triggerHandler: import("@atlaskit/editor-
|
|
531
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
532
532
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
533
533
|
query: string;
|
|
534
534
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
535
535
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
536
536
|
}) => boolean;
|
|
537
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
537
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
538
538
|
open: (props: {
|
|
539
|
-
triggerHandler: import("@atlaskit/editor-
|
|
540
|
-
inputMethod: import("@atlaskit/editor-
|
|
539
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
540
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
541
541
|
query?: string | undefined;
|
|
542
542
|
}) => boolean;
|
|
543
543
|
close: (props: {
|
|
@@ -545,16 +545,16 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
545
545
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
546
546
|
}) => boolean;
|
|
547
547
|
openAtTransaction: (props: {
|
|
548
|
-
triggerHandler: import("@atlaskit/editor-
|
|
549
|
-
inputMethod: import("@atlaskit/editor-
|
|
548
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
549
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
550
550
|
query?: string | undefined;
|
|
551
551
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
552
552
|
};
|
|
553
553
|
}, TypeAheadPluginOptions | undefined>
|
|
554
554
|
];
|
|
555
|
-
sharedState: import("@atlaskit/editor-
|
|
555
|
+
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
556
556
|
actions: {
|
|
557
|
-
openTypeAhead: (inputMethod: import("@atlaskit/editor-
|
|
557
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
558
558
|
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
559
559
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
560
560
|
};
|
|
@@ -569,29 +569,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
569
569
|
pluginConfiguration: TextFormattingOptions | undefined;
|
|
570
570
|
dependencies: [
|
|
571
571
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
572
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
572
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
573
573
|
sharedState: {
|
|
574
574
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
575
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
576
|
-
performanceTracking:
|
|
575
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
576
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
577
577
|
};
|
|
578
578
|
dependencies: [
|
|
579
579
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
580
|
-
pluginConfiguration:
|
|
581
|
-
sharedState:
|
|
582
|
-
},
|
|
580
|
+
pluginConfiguration: FeatureFlags;
|
|
581
|
+
sharedState: FeatureFlags;
|
|
582
|
+
}, FeatureFlags>>
|
|
583
583
|
];
|
|
584
584
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
585
|
-
}, import("@atlaskit/editor-
|
|
585
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
586
586
|
];
|
|
587
587
|
commands: {
|
|
588
|
-
toggleSuperscript: import("@atlaskit/editor-
|
|
589
|
-
toggleSubscript: import("@atlaskit/editor-
|
|
590
|
-
toggleStrike: import("@atlaskit/editor-
|
|
591
|
-
toggleCode: import("@atlaskit/editor-
|
|
592
|
-
toggleUnderline: import("@atlaskit/editor-
|
|
593
|
-
toggleEm: import("@atlaskit/editor-
|
|
594
|
-
toggleStrong: import("@atlaskit/editor-
|
|
588
|
+
toggleSuperscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
589
|
+
toggleSubscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
590
|
+
toggleStrike: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
591
|
+
toggleCode: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
592
|
+
toggleUnderline: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
593
|
+
toggleEm: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
594
|
+
toggleStrong: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
595
595
|
};
|
|
596
596
|
sharedState: import("@atlaskit/editor-common/types").TextFormattingState | undefined;
|
|
597
597
|
}, TextFormattingOptions | undefined>,
|
|
@@ -599,29 +599,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
599
599
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
600
600
|
dependencies: [
|
|
601
601
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
602
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
602
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
603
603
|
sharedState: {
|
|
604
604
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
605
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
606
|
-
performanceTracking:
|
|
605
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
606
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
607
607
|
};
|
|
608
608
|
dependencies: [
|
|
609
609
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
610
|
-
pluginConfiguration:
|
|
611
|
-
sharedState:
|
|
612
|
-
},
|
|
610
|
+
pluginConfiguration: FeatureFlags;
|
|
611
|
+
sharedState: FeatureFlags;
|
|
612
|
+
}, FeatureFlags>>
|
|
613
613
|
];
|
|
614
614
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
615
|
-
}, import("@atlaskit/editor-
|
|
615
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
616
616
|
];
|
|
617
617
|
actions: {
|
|
618
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
619
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
620
|
-
insertLink: import("@atlaskit/editor-
|
|
621
|
-
updateLink: import("@atlaskit/editor-
|
|
618
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
619
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
620
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
621
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
622
622
|
};
|
|
623
623
|
commands: {
|
|
624
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
624
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
625
625
|
};
|
|
626
626
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
627
627
|
}, HyperlinkPluginOptions | undefined>,
|
|
@@ -647,23 +647,34 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
647
647
|
}>>,
|
|
648
648
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
649
649
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
650
|
-
sharedState: import("@atlaskit/editor-
|
|
650
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
651
651
|
dependencies: [
|
|
652
652
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
653
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
653
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
654
654
|
sharedState: {
|
|
655
655
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
656
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
657
|
-
performanceTracking:
|
|
656
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
657
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
658
658
|
};
|
|
659
659
|
dependencies: [
|
|
660
660
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
661
|
-
pluginConfiguration:
|
|
662
|
-
sharedState:
|
|
663
|
-
},
|
|
661
|
+
pluginConfiguration: FeatureFlags;
|
|
662
|
+
sharedState: FeatureFlags;
|
|
663
|
+
}, FeatureFlags>>
|
|
664
664
|
];
|
|
665
665
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
666
|
-
}, import("@atlaskit/editor-
|
|
666
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
667
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
668
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
669
|
+
pluginConfiguration?: {
|
|
670
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
commands: {
|
|
673
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
674
|
+
};
|
|
675
|
+
}, {
|
|
676
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
677
|
+
} | undefined>>
|
|
667
678
|
];
|
|
668
679
|
actions: {
|
|
669
680
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -674,27 +685,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
674
685
|
pluginConfiguration: BlockTypePluginOptions | undefined;
|
|
675
686
|
dependencies: [
|
|
676
687
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
677
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
688
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
678
689
|
sharedState: {
|
|
679
690
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
680
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
681
|
-
performanceTracking:
|
|
691
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
692
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
682
693
|
};
|
|
683
694
|
dependencies: [
|
|
684
695
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
685
|
-
pluginConfiguration:
|
|
686
|
-
sharedState:
|
|
687
|
-
},
|
|
696
|
+
pluginConfiguration: FeatureFlags;
|
|
697
|
+
sharedState: FeatureFlags;
|
|
698
|
+
}, FeatureFlags>>
|
|
688
699
|
];
|
|
689
700
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
690
|
-
}, import("@atlaskit/editor-
|
|
701
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
691
702
|
];
|
|
692
|
-
sharedState: import("@atlaskit/editor-
|
|
703
|
+
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
693
704
|
actions: {
|
|
694
|
-
insertBlockQuote: (inputMethod: import("@atlaskit/editor-
|
|
705
|
+
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
695
706
|
};
|
|
696
707
|
commands: {
|
|
697
|
-
setTextLevel: (level: import("@atlaskit/editor-
|
|
708
|
+
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
698
709
|
};
|
|
699
710
|
}, BlockTypePluginOptions | undefined>,
|
|
700
711
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
@@ -703,36 +714,36 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
703
714
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
704
715
|
dependencies: [
|
|
705
716
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
706
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
717
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
707
718
|
sharedState: {
|
|
708
719
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
709
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
710
|
-
performanceTracking:
|
|
720
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
721
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
711
722
|
};
|
|
712
723
|
dependencies: [
|
|
713
724
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
714
|
-
pluginConfiguration:
|
|
715
|
-
sharedState:
|
|
716
|
-
},
|
|
725
|
+
pluginConfiguration: FeatureFlags;
|
|
726
|
+
sharedState: FeatureFlags;
|
|
727
|
+
}, FeatureFlags>>
|
|
717
728
|
];
|
|
718
729
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
719
|
-
}, import("@atlaskit/editor-
|
|
730
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
720
731
|
];
|
|
721
|
-
sharedState: import("@atlaskit/editor-
|
|
732
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
722
733
|
actions: {
|
|
723
734
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
724
735
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
725
736
|
insert: (props: {
|
|
726
|
-
triggerHandler: import("@atlaskit/editor-
|
|
737
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
727
738
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
728
739
|
query: string;
|
|
729
740
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
730
741
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
731
742
|
}) => boolean;
|
|
732
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
743
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
733
744
|
open: (props: {
|
|
734
|
-
triggerHandler: import("@atlaskit/editor-
|
|
735
|
-
inputMethod: import("@atlaskit/editor-
|
|
745
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
746
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
736
747
|
query?: string | undefined;
|
|
737
748
|
}) => boolean;
|
|
738
749
|
close: (props: {
|
|
@@ -740,54 +751,54 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
740
751
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
741
752
|
}) => boolean;
|
|
742
753
|
openAtTransaction: (props: {
|
|
743
|
-
triggerHandler: import("@atlaskit/editor-
|
|
744
|
-
inputMethod: import("@atlaskit/editor-
|
|
754
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
755
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
745
756
|
query?: string | undefined;
|
|
746
757
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
747
758
|
};
|
|
748
759
|
}, TypeAheadPluginOptions | undefined>,
|
|
749
760
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
750
|
-
sharedState: import("@atlaskit/editor-
|
|
761
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
751
762
|
}, undefined>
|
|
752
763
|
];
|
|
753
764
|
}, undefined>>,
|
|
754
765
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
755
|
-
sharedState: import("@atlaskit/editor-
|
|
766
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
756
767
|
}, undefined>>,
|
|
757
768
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
758
769
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
759
770
|
dependencies: [
|
|
760
771
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
761
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
772
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
762
773
|
sharedState: {
|
|
763
774
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
764
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
765
|
-
performanceTracking:
|
|
775
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
776
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
766
777
|
};
|
|
767
778
|
dependencies: [
|
|
768
779
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
769
|
-
pluginConfiguration:
|
|
770
|
-
sharedState:
|
|
771
|
-
},
|
|
780
|
+
pluginConfiguration: FeatureFlags;
|
|
781
|
+
sharedState: FeatureFlags;
|
|
782
|
+
}, FeatureFlags>>
|
|
772
783
|
];
|
|
773
784
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
774
|
-
}, import("@atlaskit/editor-
|
|
785
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
775
786
|
];
|
|
776
|
-
sharedState: import("@atlaskit/editor-
|
|
787
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
777
788
|
actions: {
|
|
778
789
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
779
790
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
780
791
|
insert: (props: {
|
|
781
|
-
triggerHandler: import("@atlaskit/editor-
|
|
792
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
782
793
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
783
794
|
query: string;
|
|
784
795
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
785
796
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
786
797
|
}) => boolean;
|
|
787
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
798
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
788
799
|
open: (props: {
|
|
789
|
-
triggerHandler: import("@atlaskit/editor-
|
|
790
|
-
inputMethod: import("@atlaskit/editor-
|
|
800
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
801
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
791
802
|
query?: string | undefined;
|
|
792
803
|
}) => boolean;
|
|
793
804
|
close: (props: {
|
|
@@ -795,14 +806,14 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
795
806
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
796
807
|
}) => boolean;
|
|
797
808
|
openAtTransaction: (props: {
|
|
798
|
-
triggerHandler: import("@atlaskit/editor-
|
|
799
|
-
inputMethod: import("@atlaskit/editor-
|
|
809
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
810
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
800
811
|
query?: string | undefined;
|
|
801
812
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
802
813
|
};
|
|
803
814
|
}, TypeAheadPluginOptions | undefined>,
|
|
804
815
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
805
|
-
sharedState: import("@atlaskit/editor-
|
|
816
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
806
817
|
actions: {
|
|
807
818
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
808
819
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -812,17 +823,17 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
812
823
|
pluginConfiguration: BasePluginOptions | undefined;
|
|
813
824
|
dependencies: [
|
|
814
825
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
815
|
-
pluginConfiguration:
|
|
816
|
-
sharedState:
|
|
817
|
-
},
|
|
826
|
+
pluginConfiguration: FeatureFlags;
|
|
827
|
+
sharedState: FeatureFlags;
|
|
828
|
+
}, FeatureFlags>>
|
|
818
829
|
];
|
|
819
|
-
sharedState: import("@atlaskit/editor-
|
|
830
|
+
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
820
831
|
actions: {
|
|
821
832
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
822
833
|
};
|
|
823
834
|
}, BasePluginOptions | undefined>,
|
|
824
835
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
825
|
-
sharedState: import("@atlaskit/editor-
|
|
836
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
826
837
|
}, undefined>,
|
|
827
838
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
828
839
|
sharedState: {
|
|
@@ -834,30 +845,30 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
834
845
|
pluginConfiguration: PastePluginOptions;
|
|
835
846
|
dependencies: [
|
|
836
847
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
837
|
-
pluginConfiguration:
|
|
838
|
-
sharedState:
|
|
839
|
-
},
|
|
848
|
+
pluginConfiguration: FeatureFlags;
|
|
849
|
+
sharedState: FeatureFlags;
|
|
850
|
+
}, FeatureFlags>>,
|
|
840
851
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
841
852
|
dependencies: [
|
|
842
853
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
843
|
-
pluginConfiguration:
|
|
844
|
-
sharedState:
|
|
845
|
-
},
|
|
854
|
+
pluginConfiguration: FeatureFlags;
|
|
855
|
+
sharedState: FeatureFlags;
|
|
856
|
+
}, FeatureFlags>>,
|
|
846
857
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
847
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
858
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
848
859
|
sharedState: {
|
|
849
860
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
850
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
851
|
-
performanceTracking:
|
|
861
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
862
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
852
863
|
};
|
|
853
864
|
dependencies: [
|
|
854
865
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
855
|
-
pluginConfiguration:
|
|
856
|
-
sharedState:
|
|
857
|
-
},
|
|
866
|
+
pluginConfiguration: FeatureFlags;
|
|
867
|
+
sharedState: FeatureFlags;
|
|
868
|
+
}, FeatureFlags>>
|
|
858
869
|
];
|
|
859
870
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
860
|
-
}, import("@atlaskit/editor-
|
|
871
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
861
872
|
];
|
|
862
873
|
actions: {
|
|
863
874
|
isInsideListItem: import("@atlaskit/editor-plugin-list").IsInsideListItem;
|
|
@@ -872,35 +883,35 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
872
883
|
sharedState: import("@atlaskit/editor-plugin-list").ListState | undefined;
|
|
873
884
|
}, undefined>>,
|
|
874
885
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
875
|
-
actions: import("@atlaskit/editor-
|
|
886
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
876
887
|
}, undefined>,
|
|
877
888
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
878
889
|
pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
|
|
879
890
|
dependencies: [
|
|
880
891
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
881
|
-
pluginConfiguration:
|
|
882
|
-
sharedState:
|
|
883
|
-
},
|
|
892
|
+
pluginConfiguration: FeatureFlags;
|
|
893
|
+
sharedState: FeatureFlags;
|
|
894
|
+
}, FeatureFlags>>,
|
|
884
895
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
885
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
896
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
886
897
|
sharedState: {
|
|
887
898
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
888
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
889
|
-
performanceTracking:
|
|
899
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
900
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
890
901
|
};
|
|
891
902
|
dependencies: [
|
|
892
903
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
893
|
-
pluginConfiguration:
|
|
894
|
-
sharedState:
|
|
895
|
-
},
|
|
904
|
+
pluginConfiguration: FeatureFlags;
|
|
905
|
+
sharedState: FeatureFlags;
|
|
906
|
+
}, FeatureFlags>>
|
|
896
907
|
];
|
|
897
908
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
898
|
-
}, import("@atlaskit/editor-
|
|
909
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
899
910
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
900
911
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
901
912
|
}, undefined>,
|
|
902
913
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
903
|
-
sharedState: import("@atlaskit/editor-
|
|
914
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
904
915
|
actions: {
|
|
905
916
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
906
917
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -915,7 +926,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
915
926
|
];
|
|
916
927
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
917
928
|
actions: {
|
|
918
|
-
displayGrid: (view:
|
|
929
|
+
displayGrid: (view: EditorView) => (props: {
|
|
919
930
|
visible: boolean;
|
|
920
931
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
921
932
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -925,11 +936,11 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
925
936
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
926
937
|
dependencies: [
|
|
927
938
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
928
|
-
pluginConfiguration:
|
|
929
|
-
sharedState:
|
|
930
|
-
},
|
|
939
|
+
pluginConfiguration: FeatureFlags;
|
|
940
|
+
sharedState: FeatureFlags;
|
|
941
|
+
}, FeatureFlags>>,
|
|
931
942
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
932
|
-
sharedState: import("@atlaskit/editor-
|
|
943
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
933
944
|
actions: {
|
|
934
945
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
935
946
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -944,29 +955,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
944
955
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
945
956
|
dependencies: [
|
|
946
957
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
947
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
958
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
948
959
|
sharedState: {
|
|
949
960
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
950
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
951
|
-
performanceTracking:
|
|
961
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
962
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
952
963
|
};
|
|
953
964
|
dependencies: [
|
|
954
965
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
955
|
-
pluginConfiguration:
|
|
956
|
-
sharedState:
|
|
957
|
-
},
|
|
966
|
+
pluginConfiguration: FeatureFlags;
|
|
967
|
+
sharedState: FeatureFlags;
|
|
968
|
+
}, FeatureFlags>>
|
|
958
969
|
];
|
|
959
970
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
960
|
-
}, import("@atlaskit/editor-
|
|
971
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
961
972
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
962
|
-
pluginConfiguration:
|
|
963
|
-
sharedState:
|
|
964
|
-
},
|
|
973
|
+
pluginConfiguration: FeatureFlags;
|
|
974
|
+
sharedState: FeatureFlags;
|
|
975
|
+
}, FeatureFlags>>,
|
|
965
976
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
966
977
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
967
978
|
}, undefined>,
|
|
968
979
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
969
|
-
sharedState: import("@atlaskit/editor-
|
|
980
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
970
981
|
actions: {
|
|
971
982
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
972
983
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -984,7 +995,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
984
995
|
actions: {
|
|
985
996
|
editSelectedExtension: () => boolean;
|
|
986
997
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
987
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
998
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
988
999
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
989
1000
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
990
1001
|
};
|
|
@@ -992,27 +1003,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
992
1003
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
993
1004
|
dependencies: [
|
|
994
1005
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
995
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1006
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
996
1007
|
sharedState: {
|
|
997
1008
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
998
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
999
|
-
performanceTracking:
|
|
1009
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1010
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1000
1011
|
};
|
|
1001
1012
|
dependencies: [
|
|
1002
1013
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1003
|
-
pluginConfiguration:
|
|
1004
|
-
sharedState:
|
|
1005
|
-
},
|
|
1014
|
+
pluginConfiguration: FeatureFlags;
|
|
1015
|
+
sharedState: FeatureFlags;
|
|
1016
|
+
}, FeatureFlags>>
|
|
1006
1017
|
];
|
|
1007
1018
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1008
|
-
}, import("@atlaskit/editor-
|
|
1019
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1009
1020
|
];
|
|
1010
1021
|
actions: {
|
|
1011
1022
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1012
1023
|
};
|
|
1013
1024
|
}, undefined>,
|
|
1014
1025
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1015
|
-
sharedState: import("@atlaskit/editor-
|
|
1026
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1016
1027
|
}, undefined>,
|
|
1017
1028
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1018
1029
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1027,40 +1038,40 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1027
1038
|
} | undefined>>
|
|
1028
1039
|
];
|
|
1029
1040
|
actions: {
|
|
1030
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1041
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1031
1042
|
};
|
|
1032
1043
|
sharedState: {
|
|
1033
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1034
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1044
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1045
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1035
1046
|
} | undefined;
|
|
1036
1047
|
}, undefined>,
|
|
1037
1048
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
1038
1049
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
1039
1050
|
dependencies: [
|
|
1040
1051
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1041
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1052
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1042
1053
|
sharedState: {
|
|
1043
1054
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1044
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1045
|
-
performanceTracking:
|
|
1055
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1056
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1046
1057
|
};
|
|
1047
1058
|
dependencies: [
|
|
1048
1059
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1049
|
-
pluginConfiguration:
|
|
1050
|
-
sharedState:
|
|
1051
|
-
},
|
|
1060
|
+
pluginConfiguration: FeatureFlags;
|
|
1061
|
+
sharedState: FeatureFlags;
|
|
1062
|
+
}, FeatureFlags>>
|
|
1052
1063
|
];
|
|
1053
1064
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1054
|
-
}, import("@atlaskit/editor-
|
|
1065
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1055
1066
|
];
|
|
1056
1067
|
actions: {
|
|
1057
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
1058
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
1059
|
-
insertLink: import("@atlaskit/editor-
|
|
1060
|
-
updateLink: import("@atlaskit/editor-
|
|
1068
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
1069
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
1070
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
1071
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
1061
1072
|
};
|
|
1062
1073
|
commands: {
|
|
1063
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
1074
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
1064
1075
|
};
|
|
1065
1076
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
1066
1077
|
}, HyperlinkPluginOptions | undefined>
|
|
@@ -1069,42 +1080,42 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1069
1080
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1070
1081
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
|
|
1071
1082
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1072
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1083
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1073
1084
|
sharedState: {
|
|
1074
1085
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1075
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1076
|
-
performanceTracking:
|
|
1086
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1087
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1077
1088
|
};
|
|
1078
1089
|
dependencies: [
|
|
1079
1090
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1080
|
-
pluginConfiguration:
|
|
1081
|
-
sharedState:
|
|
1082
|
-
},
|
|
1091
|
+
pluginConfiguration: FeatureFlags;
|
|
1092
|
+
sharedState: FeatureFlags;
|
|
1093
|
+
}, FeatureFlags>>
|
|
1083
1094
|
];
|
|
1084
1095
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1085
|
-
}, import("@atlaskit/editor-
|
|
1096
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1086
1097
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
1087
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1098
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
1088
1099
|
dependencies: [
|
|
1089
1100
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1090
|
-
pluginConfiguration:
|
|
1091
|
-
sharedState:
|
|
1092
|
-
},
|
|
1101
|
+
pluginConfiguration: FeatureFlags;
|
|
1102
|
+
sharedState: FeatureFlags;
|
|
1103
|
+
}, FeatureFlags>>,
|
|
1093
1104
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1094
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1105
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1095
1106
|
sharedState: {
|
|
1096
1107
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1097
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1098
|
-
performanceTracking:
|
|
1108
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1109
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1099
1110
|
};
|
|
1100
1111
|
dependencies: [
|
|
1101
1112
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1102
|
-
pluginConfiguration:
|
|
1103
|
-
sharedState:
|
|
1104
|
-
},
|
|
1113
|
+
pluginConfiguration: FeatureFlags;
|
|
1114
|
+
sharedState: FeatureFlags;
|
|
1115
|
+
}, FeatureFlags>>
|
|
1105
1116
|
];
|
|
1106
1117
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1107
|
-
}, import("@atlaskit/editor-
|
|
1118
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1108
1119
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
1109
1120
|
dependencies: [
|
|
1110
1121
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -1125,7 +1136,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1125
1136
|
];
|
|
1126
1137
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1127
1138
|
actions: {
|
|
1128
|
-
displayGrid: (view:
|
|
1139
|
+
displayGrid: (view: EditorView) => (props: {
|
|
1129
1140
|
visible: boolean;
|
|
1130
1141
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1131
1142
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -1136,7 +1147,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1136
1147
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1137
1148
|
}, undefined>,
|
|
1138
1149
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1139
|
-
sharedState: import("@atlaskit/editor-
|
|
1150
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1140
1151
|
actions: {
|
|
1141
1152
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1142
1153
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1145,11 +1156,11 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1145
1156
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1146
1157
|
dependencies: [
|
|
1147
1158
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1148
|
-
pluginConfiguration:
|
|
1149
|
-
sharedState:
|
|
1150
|
-
},
|
|
1159
|
+
pluginConfiguration: FeatureFlags;
|
|
1160
|
+
sharedState: FeatureFlags;
|
|
1161
|
+
}, FeatureFlags>>,
|
|
1151
1162
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1152
|
-
sharedState: import("@atlaskit/editor-
|
|
1163
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1153
1164
|
actions: {
|
|
1154
1165
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1155
1166
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1164,29 +1175,29 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1164
1175
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1165
1176
|
dependencies: [
|
|
1166
1177
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1167
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1178
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1168
1179
|
sharedState: {
|
|
1169
1180
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1170
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1171
|
-
performanceTracking:
|
|
1181
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1182
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1172
1183
|
};
|
|
1173
1184
|
dependencies: [
|
|
1174
1185
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1175
|
-
pluginConfiguration:
|
|
1176
|
-
sharedState:
|
|
1177
|
-
},
|
|
1186
|
+
pluginConfiguration: FeatureFlags;
|
|
1187
|
+
sharedState: FeatureFlags;
|
|
1188
|
+
}, FeatureFlags>>
|
|
1178
1189
|
];
|
|
1179
1190
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1180
|
-
}, import("@atlaskit/editor-
|
|
1191
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1181
1192
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1182
|
-
pluginConfiguration:
|
|
1183
|
-
sharedState:
|
|
1184
|
-
},
|
|
1193
|
+
pluginConfiguration: FeatureFlags;
|
|
1194
|
+
sharedState: FeatureFlags;
|
|
1195
|
+
}, FeatureFlags>>,
|
|
1185
1196
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1186
1197
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1187
1198
|
}, undefined>,
|
|
1188
1199
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1189
|
-
sharedState: import("@atlaskit/editor-
|
|
1200
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1190
1201
|
actions: {
|
|
1191
1202
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1192
1203
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1204,7 +1215,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1204
1215
|
actions: {
|
|
1205
1216
|
editSelectedExtension: () => boolean;
|
|
1206
1217
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1207
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1218
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1208
1219
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1209
1220
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1210
1221
|
};
|
|
@@ -1212,27 +1223,27 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1212
1223
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1213
1224
|
dependencies: [
|
|
1214
1225
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1215
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1226
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1216
1227
|
sharedState: {
|
|
1217
1228
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1218
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1219
|
-
performanceTracking:
|
|
1229
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1230
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1220
1231
|
};
|
|
1221
1232
|
dependencies: [
|
|
1222
1233
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1223
|
-
pluginConfiguration:
|
|
1224
|
-
sharedState:
|
|
1225
|
-
},
|
|
1234
|
+
pluginConfiguration: FeatureFlags;
|
|
1235
|
+
sharedState: FeatureFlags;
|
|
1236
|
+
}, FeatureFlags>>
|
|
1226
1237
|
];
|
|
1227
1238
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1228
|
-
}, import("@atlaskit/editor-
|
|
1239
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1229
1240
|
];
|
|
1230
1241
|
actions: {
|
|
1231
1242
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1232
1243
|
};
|
|
1233
1244
|
}, undefined>,
|
|
1234
1245
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1235
|
-
sharedState: import("@atlaskit/editor-
|
|
1246
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1236
1247
|
}, undefined>,
|
|
1237
1248
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1238
1249
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1247,15 +1258,15 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1247
1258
|
} | undefined>>
|
|
1248
1259
|
];
|
|
1249
1260
|
actions: {
|
|
1250
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1261
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1251
1262
|
};
|
|
1252
1263
|
sharedState: {
|
|
1253
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1254
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1264
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1265
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1255
1266
|
} | undefined;
|
|
1256
1267
|
}, undefined>,
|
|
1257
1268
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1258
|
-
sharedState: import("@atlaskit/editor-
|
|
1269
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1259
1270
|
}, undefined>,
|
|
1260
1271
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1261
1272
|
sharedState: {
|
|
@@ -1263,46 +1274,46 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1263
1274
|
};
|
|
1264
1275
|
}, undefined>,
|
|
1265
1276
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1266
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1267
|
-
actions: import("@atlaskit/editor-
|
|
1277
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1278
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1268
1279
|
commands: {
|
|
1269
1280
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1270
1281
|
};
|
|
1271
1282
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1272
|
-
}, import("@atlaskit/editor-
|
|
1283
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
1273
1284
|
];
|
|
1274
|
-
sharedState: import("@atlaskit/editor-
|
|
1285
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1275
1286
|
actions: {
|
|
1276
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
1287
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
1277
1288
|
};
|
|
1278
|
-
}, import("@atlaskit/editor-
|
|
1289
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
1279
1290
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1280
1291
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1281
1292
|
dependencies: [
|
|
1282
1293
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1283
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1294
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1284
1295
|
sharedState: {
|
|
1285
1296
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1286
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1287
|
-
performanceTracking:
|
|
1297
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1298
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1288
1299
|
};
|
|
1289
1300
|
dependencies: [
|
|
1290
1301
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1291
|
-
pluginConfiguration:
|
|
1292
|
-
sharedState:
|
|
1293
|
-
},
|
|
1302
|
+
pluginConfiguration: FeatureFlags;
|
|
1303
|
+
sharedState: FeatureFlags;
|
|
1304
|
+
}, FeatureFlags>>
|
|
1294
1305
|
];
|
|
1295
1306
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1296
|
-
}, import("@atlaskit/editor-
|
|
1307
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1297
1308
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1298
|
-
pluginConfiguration:
|
|
1299
|
-
sharedState:
|
|
1300
|
-
},
|
|
1309
|
+
pluginConfiguration: FeatureFlags;
|
|
1310
|
+
sharedState: FeatureFlags;
|
|
1311
|
+
}, FeatureFlags>>,
|
|
1301
1312
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1302
1313
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1303
1314
|
}, undefined>,
|
|
1304
1315
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1305
|
-
sharedState: import("@atlaskit/editor-
|
|
1316
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1306
1317
|
actions: {
|
|
1307
1318
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1308
1319
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1320,30 +1331,41 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1320
1331
|
actions: {
|
|
1321
1332
|
editSelectedExtension: () => boolean;
|
|
1322
1333
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1323
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1334
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1324
1335
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1325
1336
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1326
1337
|
};
|
|
1327
1338
|
}, import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined>>,
|
|
1328
1339
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1329
1340
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
1330
|
-
sharedState: import("@atlaskit/editor-
|
|
1341
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1331
1342
|
dependencies: [
|
|
1332
1343
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1333
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1344
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1334
1345
|
sharedState: {
|
|
1335
1346
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1336
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1337
|
-
performanceTracking:
|
|
1347
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1348
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1338
1349
|
};
|
|
1339
1350
|
dependencies: [
|
|
1340
1351
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1341
|
-
pluginConfiguration:
|
|
1342
|
-
sharedState:
|
|
1343
|
-
},
|
|
1352
|
+
pluginConfiguration: FeatureFlags;
|
|
1353
|
+
sharedState: FeatureFlags;
|
|
1354
|
+
}, FeatureFlags>>
|
|
1344
1355
|
];
|
|
1345
1356
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1346
|
-
}, import("@atlaskit/editor-
|
|
1357
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1358
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1359
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1360
|
+
pluginConfiguration?: {
|
|
1361
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
commands: {
|
|
1364
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1365
|
+
};
|
|
1366
|
+
}, {
|
|
1367
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1368
|
+
} | undefined>>
|
|
1347
1369
|
];
|
|
1348
1370
|
actions: {
|
|
1349
1371
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -1351,33 +1373,33 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1351
1373
|
}, AnnotationProviders | undefined>>
|
|
1352
1374
|
];
|
|
1353
1375
|
sharedState: {
|
|
1354
|
-
lastContentPasted: import("@atlaskit/editor-
|
|
1376
|
+
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
1355
1377
|
};
|
|
1356
1378
|
}, PastePluginOptions>,
|
|
1357
1379
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
1358
|
-
actions: import("@atlaskit/editor-
|
|
1380
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
1359
1381
|
}, undefined>,
|
|
1360
1382
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1361
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1383
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1362
1384
|
sharedState: {
|
|
1363
1385
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1364
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1365
|
-
performanceTracking:
|
|
1386
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1387
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1366
1388
|
};
|
|
1367
1389
|
dependencies: [
|
|
1368
1390
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1369
|
-
pluginConfiguration:
|
|
1370
|
-
sharedState:
|
|
1371
|
-
},
|
|
1391
|
+
pluginConfiguration: FeatureFlags;
|
|
1392
|
+
sharedState: FeatureFlags;
|
|
1393
|
+
}, FeatureFlags>>
|
|
1372
1394
|
];
|
|
1373
1395
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1374
|
-
}, import("@atlaskit/editor-
|
|
1396
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1375
1397
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1376
|
-
pluginConfiguration:
|
|
1377
|
-
sharedState:
|
|
1378
|
-
},
|
|
1398
|
+
pluginConfiguration: FeatureFlags;
|
|
1399
|
+
sharedState: FeatureFlags;
|
|
1400
|
+
}, FeatureFlags>
|
|
1379
1401
|
]>;
|
|
1380
|
-
export declare function useDefaultPreset(props:
|
|
1402
|
+
export declare function useDefaultPreset(props: DefaultPresetPluginOptions): EditorPresetBuilder<[
|
|
1381
1403
|
"codeBlock",
|
|
1382
1404
|
"selection",
|
|
1383
1405
|
"floatingToolbar",
|
|
@@ -1411,51 +1433,51 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1411
1433
|
pluginConfiguration: CodeBlockOptions;
|
|
1412
1434
|
dependencies: [
|
|
1413
1435
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1414
|
-
sharedState: import("@atlaskit/editor-
|
|
1436
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1415
1437
|
actions: {
|
|
1416
1438
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1417
1439
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
1418
1440
|
};
|
|
1419
1441
|
}, undefined>,
|
|
1420
1442
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
1421
|
-
sharedState: import("@atlaskit/editor-
|
|
1443
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
1422
1444
|
}, undefined>,
|
|
1423
1445
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1424
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1446
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1425
1447
|
sharedState: {
|
|
1426
1448
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1427
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1428
|
-
performanceTracking:
|
|
1449
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1450
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1429
1451
|
};
|
|
1430
1452
|
dependencies: [
|
|
1431
1453
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1432
|
-
pluginConfiguration:
|
|
1433
|
-
sharedState:
|
|
1434
|
-
},
|
|
1454
|
+
pluginConfiguration: FeatureFlags;
|
|
1455
|
+
sharedState: FeatureFlags;
|
|
1456
|
+
}, FeatureFlags>>
|
|
1435
1457
|
];
|
|
1436
1458
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1437
|
-
}, import("@atlaskit/editor-
|
|
1459
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1438
1460
|
];
|
|
1439
1461
|
actions: {
|
|
1440
1462
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1441
1463
|
};
|
|
1442
1464
|
}, CodeBlockOptions>,
|
|
1443
1465
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1444
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1445
|
-
actions: import("@atlaskit/editor-
|
|
1466
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1467
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1446
1468
|
commands: {
|
|
1447
1469
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1448
1470
|
};
|
|
1449
1471
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1450
|
-
}, import("@atlaskit/editor-
|
|
1472
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
1451
1473
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1452
1474
|
dependencies: [
|
|
1453
1475
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1454
|
-
pluginConfiguration:
|
|
1455
|
-
sharedState:
|
|
1456
|
-
},
|
|
1476
|
+
pluginConfiguration: FeatureFlags;
|
|
1477
|
+
sharedState: FeatureFlags;
|
|
1478
|
+
}, FeatureFlags>>,
|
|
1457
1479
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1458
|
-
sharedState: import("@atlaskit/editor-
|
|
1480
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1459
1481
|
actions: {
|
|
1460
1482
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1461
1483
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1470,29 +1492,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1470
1492
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1471
1493
|
dependencies: [
|
|
1472
1494
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1473
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1495
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1474
1496
|
sharedState: {
|
|
1475
1497
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1476
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1477
|
-
performanceTracking:
|
|
1498
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1499
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1478
1500
|
};
|
|
1479
1501
|
dependencies: [
|
|
1480
1502
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1481
|
-
pluginConfiguration:
|
|
1482
|
-
sharedState:
|
|
1483
|
-
},
|
|
1503
|
+
pluginConfiguration: FeatureFlags;
|
|
1504
|
+
sharedState: FeatureFlags;
|
|
1505
|
+
}, FeatureFlags>>
|
|
1484
1506
|
];
|
|
1485
1507
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1486
|
-
}, import("@atlaskit/editor-
|
|
1508
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1487
1509
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1488
|
-
pluginConfiguration:
|
|
1489
|
-
sharedState:
|
|
1490
|
-
},
|
|
1510
|
+
pluginConfiguration: FeatureFlags;
|
|
1511
|
+
sharedState: FeatureFlags;
|
|
1512
|
+
}, FeatureFlags>>,
|
|
1491
1513
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1492
1514
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1493
1515
|
}, undefined>,
|
|
1494
1516
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1495
|
-
sharedState: import("@atlaskit/editor-
|
|
1517
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1496
1518
|
actions: {
|
|
1497
1519
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1498
1520
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1510,7 +1532,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1510
1532
|
actions: {
|
|
1511
1533
|
editSelectedExtension: () => boolean;
|
|
1512
1534
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1513
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1535
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1514
1536
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1515
1537
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1516
1538
|
};
|
|
@@ -1518,27 +1540,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1518
1540
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1519
1541
|
dependencies: [
|
|
1520
1542
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1521
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1543
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1522
1544
|
sharedState: {
|
|
1523
1545
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1524
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1525
|
-
performanceTracking:
|
|
1546
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1547
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1526
1548
|
};
|
|
1527
1549
|
dependencies: [
|
|
1528
1550
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1529
|
-
pluginConfiguration:
|
|
1530
|
-
sharedState:
|
|
1531
|
-
},
|
|
1551
|
+
pluginConfiguration: FeatureFlags;
|
|
1552
|
+
sharedState: FeatureFlags;
|
|
1553
|
+
}, FeatureFlags>>
|
|
1532
1554
|
];
|
|
1533
1555
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1534
|
-
}, import("@atlaskit/editor-
|
|
1556
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1535
1557
|
];
|
|
1536
1558
|
actions: {
|
|
1537
1559
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1538
1560
|
};
|
|
1539
1561
|
}, undefined>,
|
|
1540
1562
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1541
|
-
sharedState: import("@atlaskit/editor-
|
|
1563
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1542
1564
|
}, undefined>,
|
|
1543
1565
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1544
1566
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1553,60 +1575,60 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1553
1575
|
} | undefined>>
|
|
1554
1576
|
];
|
|
1555
1577
|
actions: {
|
|
1556
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1578
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1557
1579
|
};
|
|
1558
1580
|
sharedState: {
|
|
1559
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1560
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1581
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1582
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1561
1583
|
} | undefined;
|
|
1562
1584
|
}, undefined>,
|
|
1563
1585
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1564
1586
|
dependencies: [
|
|
1565
1587
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1566
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1588
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1567
1589
|
sharedState: {
|
|
1568
1590
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1569
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1570
|
-
performanceTracking:
|
|
1591
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1592
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1571
1593
|
};
|
|
1572
1594
|
dependencies: [
|
|
1573
1595
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1574
|
-
pluginConfiguration:
|
|
1575
|
-
sharedState:
|
|
1576
|
-
},
|
|
1596
|
+
pluginConfiguration: FeatureFlags;
|
|
1597
|
+
sharedState: FeatureFlags;
|
|
1598
|
+
}, FeatureFlags>>
|
|
1577
1599
|
];
|
|
1578
1600
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1579
|
-
}, import("@atlaskit/editor-
|
|
1601
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1580
1602
|
];
|
|
1581
1603
|
actions: {
|
|
1582
1604
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1583
1605
|
};
|
|
1584
1606
|
}, undefined>,
|
|
1585
1607
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
1586
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1608
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
1587
1609
|
dependencies: [
|
|
1588
1610
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
1589
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1611
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
1590
1612
|
dependencies: [
|
|
1591
1613
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1592
|
-
pluginConfiguration:
|
|
1593
|
-
sharedState:
|
|
1594
|
-
},
|
|
1614
|
+
pluginConfiguration: FeatureFlags;
|
|
1615
|
+
sharedState: FeatureFlags;
|
|
1616
|
+
}, FeatureFlags>>,
|
|
1595
1617
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1596
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1618
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1597
1619
|
sharedState: {
|
|
1598
1620
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1599
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1600
|
-
performanceTracking:
|
|
1621
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1622
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1601
1623
|
};
|
|
1602
1624
|
dependencies: [
|
|
1603
1625
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1604
|
-
pluginConfiguration:
|
|
1605
|
-
sharedState:
|
|
1606
|
-
},
|
|
1626
|
+
pluginConfiguration: FeatureFlags;
|
|
1627
|
+
sharedState: FeatureFlags;
|
|
1628
|
+
}, FeatureFlags>>
|
|
1607
1629
|
];
|
|
1608
1630
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1609
|
-
}, import("@atlaskit/editor-
|
|
1631
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1610
1632
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
1611
1633
|
dependencies: [
|
|
1612
1634
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -1627,7 +1649,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1627
1649
|
];
|
|
1628
1650
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1629
1651
|
actions: {
|
|
1630
|
-
displayGrid: (view:
|
|
1652
|
+
displayGrid: (view: EditorView) => (props: {
|
|
1631
1653
|
visible: boolean;
|
|
1632
1654
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1633
1655
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -1638,7 +1660,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1638
1660
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1639
1661
|
}, undefined>,
|
|
1640
1662
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1641
|
-
sharedState: import("@atlaskit/editor-
|
|
1663
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1642
1664
|
actions: {
|
|
1643
1665
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1644
1666
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1647,11 +1669,11 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1647
1669
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1648
1670
|
dependencies: [
|
|
1649
1671
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1650
|
-
pluginConfiguration:
|
|
1651
|
-
sharedState:
|
|
1652
|
-
},
|
|
1672
|
+
pluginConfiguration: FeatureFlags;
|
|
1673
|
+
sharedState: FeatureFlags;
|
|
1674
|
+
}, FeatureFlags>>,
|
|
1653
1675
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1654
|
-
sharedState: import("@atlaskit/editor-
|
|
1676
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1655
1677
|
actions: {
|
|
1656
1678
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1657
1679
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1666,29 +1688,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1666
1688
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
1667
1689
|
dependencies: [
|
|
1668
1690
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1669
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1691
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1670
1692
|
sharedState: {
|
|
1671
1693
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1672
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1673
|
-
performanceTracking:
|
|
1694
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1695
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1674
1696
|
};
|
|
1675
1697
|
dependencies: [
|
|
1676
1698
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1677
|
-
pluginConfiguration:
|
|
1678
|
-
sharedState:
|
|
1679
|
-
},
|
|
1699
|
+
pluginConfiguration: FeatureFlags;
|
|
1700
|
+
sharedState: FeatureFlags;
|
|
1701
|
+
}, FeatureFlags>>
|
|
1680
1702
|
];
|
|
1681
1703
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1682
|
-
}, import("@atlaskit/editor-
|
|
1704
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1683
1705
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1684
|
-
pluginConfiguration:
|
|
1685
|
-
sharedState:
|
|
1686
|
-
},
|
|
1706
|
+
pluginConfiguration: FeatureFlags;
|
|
1707
|
+
sharedState: FeatureFlags;
|
|
1708
|
+
}, FeatureFlags>>,
|
|
1687
1709
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1688
1710
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1689
1711
|
}, undefined>,
|
|
1690
1712
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
1691
|
-
sharedState: import("@atlaskit/editor-
|
|
1713
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
1692
1714
|
actions: {
|
|
1693
1715
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1694
1716
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -1706,7 +1728,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1706
1728
|
actions: {
|
|
1707
1729
|
editSelectedExtension: () => boolean;
|
|
1708
1730
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
1709
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
1731
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
1710
1732
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
1711
1733
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1712
1734
|
};
|
|
@@ -1714,27 +1736,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1714
1736
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
1715
1737
|
dependencies: [
|
|
1716
1738
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1717
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1739
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1718
1740
|
sharedState: {
|
|
1719
1741
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1720
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1721
|
-
performanceTracking:
|
|
1742
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1743
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1722
1744
|
};
|
|
1723
1745
|
dependencies: [
|
|
1724
1746
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1725
|
-
pluginConfiguration:
|
|
1726
|
-
sharedState:
|
|
1727
|
-
},
|
|
1747
|
+
pluginConfiguration: FeatureFlags;
|
|
1748
|
+
sharedState: FeatureFlags;
|
|
1749
|
+
}, FeatureFlags>>
|
|
1728
1750
|
];
|
|
1729
1751
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1730
|
-
}, import("@atlaskit/editor-
|
|
1752
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1731
1753
|
];
|
|
1732
1754
|
actions: {
|
|
1733
1755
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
1734
1756
|
};
|
|
1735
1757
|
}, undefined>,
|
|
1736
1758
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1737
|
-
sharedState: import("@atlaskit/editor-
|
|
1759
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1738
1760
|
}, undefined>,
|
|
1739
1761
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1740
1762
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -1749,15 +1771,15 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1749
1771
|
} | undefined>>
|
|
1750
1772
|
];
|
|
1751
1773
|
actions: {
|
|
1752
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
1774
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
1753
1775
|
};
|
|
1754
1776
|
sharedState: {
|
|
1755
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
1756
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
1777
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
1778
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
1757
1779
|
} | undefined;
|
|
1758
1780
|
}, undefined>,
|
|
1759
1781
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1760
|
-
sharedState: import("@atlaskit/editor-
|
|
1782
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1761
1783
|
}, undefined>,
|
|
1762
1784
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
1763
1785
|
sharedState: {
|
|
@@ -1765,23 +1787,23 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1765
1787
|
};
|
|
1766
1788
|
}, undefined>,
|
|
1767
1789
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1768
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1769
|
-
actions: import("@atlaskit/editor-
|
|
1790
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1791
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1770
1792
|
commands: {
|
|
1771
1793
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1772
1794
|
};
|
|
1773
1795
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1774
|
-
}, import("@atlaskit/editor-
|
|
1796
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
1775
1797
|
];
|
|
1776
|
-
sharedState: import("@atlaskit/editor-
|
|
1798
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1777
1799
|
actions: {
|
|
1778
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
1800
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
1779
1801
|
};
|
|
1780
|
-
}, import("@atlaskit/editor-
|
|
1802
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
1781
1803
|
];
|
|
1782
|
-
}, import("@atlaskit/editor-
|
|
1804
|
+
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
1783
1805
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1784
|
-
sharedState: import("@atlaskit/editor-
|
|
1806
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1785
1807
|
}, undefined>,
|
|
1786
1808
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"unsupportedContent", {}, undefined>,
|
|
1787
1809
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholder", {
|
|
@@ -1793,42 +1815,42 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1793
1815
|
};
|
|
1794
1816
|
}, undefined>,
|
|
1795
1817
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
1796
|
-
sharedState: import("@atlaskit/editor-
|
|
1818
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
1797
1819
|
}, undefined>,
|
|
1798
1820
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
1799
1821
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
1800
1822
|
dependencies: [
|
|
1801
1823
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1802
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1824
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1803
1825
|
sharedState: {
|
|
1804
1826
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1805
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1806
|
-
performanceTracking:
|
|
1827
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1828
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1807
1829
|
};
|
|
1808
1830
|
dependencies: [
|
|
1809
1831
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1810
|
-
pluginConfiguration:
|
|
1811
|
-
sharedState:
|
|
1812
|
-
},
|
|
1832
|
+
pluginConfiguration: FeatureFlags;
|
|
1833
|
+
sharedState: FeatureFlags;
|
|
1834
|
+
}, FeatureFlags>>
|
|
1813
1835
|
];
|
|
1814
1836
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1815
|
-
}, import("@atlaskit/editor-
|
|
1837
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1816
1838
|
];
|
|
1817
|
-
sharedState: import("@atlaskit/editor-
|
|
1839
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1818
1840
|
actions: {
|
|
1819
1841
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1820
1842
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1821
1843
|
insert: (props: {
|
|
1822
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1844
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1823
1845
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
1824
1846
|
query: string;
|
|
1825
1847
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
1826
1848
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1827
1849
|
}) => boolean;
|
|
1828
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
1850
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1829
1851
|
open: (props: {
|
|
1830
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1831
|
-
inputMethod: import("@atlaskit/editor-
|
|
1852
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1853
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1832
1854
|
query?: string | undefined;
|
|
1833
1855
|
}) => boolean;
|
|
1834
1856
|
close: (props: {
|
|
@@ -1836,8 +1858,8 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1836
1858
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1837
1859
|
}) => boolean;
|
|
1838
1860
|
openAtTransaction: (props: {
|
|
1839
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1840
|
-
inputMethod: import("@atlaskit/editor-
|
|
1861
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1862
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1841
1863
|
query?: string | undefined;
|
|
1842
1864
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1843
1865
|
};
|
|
@@ -1851,36 +1873,36 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1851
1873
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
1852
1874
|
dependencies: [
|
|
1853
1875
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1854
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1876
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1855
1877
|
sharedState: {
|
|
1856
1878
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1857
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1858
|
-
performanceTracking:
|
|
1879
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1880
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1859
1881
|
};
|
|
1860
1882
|
dependencies: [
|
|
1861
1883
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1862
|
-
pluginConfiguration:
|
|
1863
|
-
sharedState:
|
|
1864
|
-
},
|
|
1884
|
+
pluginConfiguration: FeatureFlags;
|
|
1885
|
+
sharedState: FeatureFlags;
|
|
1886
|
+
}, FeatureFlags>>
|
|
1865
1887
|
];
|
|
1866
1888
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1867
|
-
}, import("@atlaskit/editor-
|
|
1889
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1868
1890
|
];
|
|
1869
|
-
sharedState: import("@atlaskit/editor-
|
|
1891
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1870
1892
|
actions: {
|
|
1871
1893
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1872
1894
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
1873
1895
|
insert: (props: {
|
|
1874
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1896
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1875
1897
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
1876
1898
|
query: string;
|
|
1877
1899
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
1878
1900
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1879
1901
|
}) => boolean;
|
|
1880
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
1902
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1881
1903
|
open: (props: {
|
|
1882
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1883
|
-
inputMethod: import("@atlaskit/editor-
|
|
1904
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1905
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1884
1906
|
query?: string | undefined;
|
|
1885
1907
|
}) => boolean;
|
|
1886
1908
|
close: (props: {
|
|
@@ -1888,16 +1910,16 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1888
1910
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1889
1911
|
}) => boolean;
|
|
1890
1912
|
openAtTransaction: (props: {
|
|
1891
|
-
triggerHandler: import("@atlaskit/editor-
|
|
1892
|
-
inputMethod: import("@atlaskit/editor-
|
|
1913
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
1914
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
1893
1915
|
query?: string | undefined;
|
|
1894
1916
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1895
1917
|
};
|
|
1896
1918
|
}, TypeAheadPluginOptions | undefined>
|
|
1897
1919
|
];
|
|
1898
|
-
sharedState: import("@atlaskit/editor-
|
|
1920
|
+
sharedState: import("@atlaskit/editor-plugins/quick-insert").QuickInsertSharedState | null;
|
|
1899
1921
|
actions: {
|
|
1900
|
-
openTypeAhead: (inputMethod: import("@atlaskit/editor-
|
|
1922
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
|
|
1901
1923
|
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
1902
1924
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1903
1925
|
};
|
|
@@ -1912,29 +1934,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1912
1934
|
pluginConfiguration: TextFormattingOptions | undefined;
|
|
1913
1935
|
dependencies: [
|
|
1914
1936
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1915
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1937
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1916
1938
|
sharedState: {
|
|
1917
1939
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1918
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1919
|
-
performanceTracking:
|
|
1940
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1941
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1920
1942
|
};
|
|
1921
1943
|
dependencies: [
|
|
1922
1944
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1923
|
-
pluginConfiguration:
|
|
1924
|
-
sharedState:
|
|
1925
|
-
},
|
|
1945
|
+
pluginConfiguration: FeatureFlags;
|
|
1946
|
+
sharedState: FeatureFlags;
|
|
1947
|
+
}, FeatureFlags>>
|
|
1926
1948
|
];
|
|
1927
1949
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1928
|
-
}, import("@atlaskit/editor-
|
|
1950
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1929
1951
|
];
|
|
1930
1952
|
commands: {
|
|
1931
|
-
toggleSuperscript: import("@atlaskit/editor-
|
|
1932
|
-
toggleSubscript: import("@atlaskit/editor-
|
|
1933
|
-
toggleStrike: import("@atlaskit/editor-
|
|
1934
|
-
toggleCode: import("@atlaskit/editor-
|
|
1935
|
-
toggleUnderline: import("@atlaskit/editor-
|
|
1936
|
-
toggleEm: import("@atlaskit/editor-
|
|
1937
|
-
toggleStrong: import("@atlaskit/editor-
|
|
1953
|
+
toggleSuperscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1954
|
+
toggleSubscript: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1955
|
+
toggleStrike: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1956
|
+
toggleCode: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1957
|
+
toggleUnderline: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1958
|
+
toggleEm: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1959
|
+
toggleStrong: import("@atlaskit/editor-plugins/text-formatting").ToggleMarkEditorCommand;
|
|
1938
1960
|
};
|
|
1939
1961
|
sharedState: import("@atlaskit/editor-common/types").TextFormattingState | undefined;
|
|
1940
1962
|
}, TextFormattingOptions | undefined>,
|
|
@@ -1942,29 +1964,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1942
1964
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
1943
1965
|
dependencies: [
|
|
1944
1966
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1945
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1967
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1946
1968
|
sharedState: {
|
|
1947
1969
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1948
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
1949
|
-
performanceTracking:
|
|
1970
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1971
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1950
1972
|
};
|
|
1951
1973
|
dependencies: [
|
|
1952
1974
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1953
|
-
pluginConfiguration:
|
|
1954
|
-
sharedState:
|
|
1955
|
-
},
|
|
1975
|
+
pluginConfiguration: FeatureFlags;
|
|
1976
|
+
sharedState: FeatureFlags;
|
|
1977
|
+
}, FeatureFlags>>
|
|
1956
1978
|
];
|
|
1957
1979
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1958
|
-
}, import("@atlaskit/editor-
|
|
1980
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1959
1981
|
];
|
|
1960
1982
|
actions: {
|
|
1961
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
1962
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
1963
|
-
insertLink: import("@atlaskit/editor-
|
|
1964
|
-
updateLink: import("@atlaskit/editor-
|
|
1983
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
1984
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
1985
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
1986
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
1965
1987
|
};
|
|
1966
1988
|
commands: {
|
|
1967
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
1989
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
1968
1990
|
};
|
|
1969
1991
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
1970
1992
|
}, HyperlinkPluginOptions | undefined>,
|
|
@@ -1990,23 +2012,34 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1990
2012
|
}>>,
|
|
1991
2013
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1992
2014
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
1993
|
-
sharedState: import("@atlaskit/editor-
|
|
2015
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1994
2016
|
dependencies: [
|
|
1995
2017
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1996
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2018
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1997
2019
|
sharedState: {
|
|
1998
2020
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1999
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2000
|
-
performanceTracking:
|
|
2021
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2022
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2001
2023
|
};
|
|
2002
2024
|
dependencies: [
|
|
2003
2025
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2004
|
-
pluginConfiguration:
|
|
2005
|
-
sharedState:
|
|
2006
|
-
},
|
|
2026
|
+
pluginConfiguration: FeatureFlags;
|
|
2027
|
+
sharedState: FeatureFlags;
|
|
2028
|
+
}, FeatureFlags>>
|
|
2007
2029
|
];
|
|
2008
2030
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2009
|
-
}, import("@atlaskit/editor-
|
|
2031
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2032
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2033
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2034
|
+
pluginConfiguration?: {
|
|
2035
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2036
|
+
} | undefined;
|
|
2037
|
+
commands: {
|
|
2038
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2039
|
+
};
|
|
2040
|
+
}, {
|
|
2041
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2042
|
+
} | undefined>>
|
|
2010
2043
|
];
|
|
2011
2044
|
actions: {
|
|
2012
2045
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -2017,27 +2050,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2017
2050
|
pluginConfiguration: BlockTypePluginOptions | undefined;
|
|
2018
2051
|
dependencies: [
|
|
2019
2052
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2020
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2053
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2021
2054
|
sharedState: {
|
|
2022
2055
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2023
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2024
|
-
performanceTracking:
|
|
2056
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2057
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2025
2058
|
};
|
|
2026
2059
|
dependencies: [
|
|
2027
2060
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2028
|
-
pluginConfiguration:
|
|
2029
|
-
sharedState:
|
|
2030
|
-
},
|
|
2061
|
+
pluginConfiguration: FeatureFlags;
|
|
2062
|
+
sharedState: FeatureFlags;
|
|
2063
|
+
}, FeatureFlags>>
|
|
2031
2064
|
];
|
|
2032
2065
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2033
|
-
}, import("@atlaskit/editor-
|
|
2066
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2034
2067
|
];
|
|
2035
|
-
sharedState: import("@atlaskit/editor-
|
|
2068
|
+
sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
|
|
2036
2069
|
actions: {
|
|
2037
|
-
insertBlockQuote: (inputMethod: import("@atlaskit/editor-
|
|
2070
|
+
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2038
2071
|
};
|
|
2039
2072
|
commands: {
|
|
2040
|
-
setTextLevel: (level: import("@atlaskit/editor-
|
|
2073
|
+
setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2041
2074
|
};
|
|
2042
2075
|
}, BlockTypePluginOptions | undefined>,
|
|
2043
2076
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
@@ -2046,36 +2079,36 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2046
2079
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
2047
2080
|
dependencies: [
|
|
2048
2081
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2049
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2082
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2050
2083
|
sharedState: {
|
|
2051
2084
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2052
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2053
|
-
performanceTracking:
|
|
2085
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2086
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2054
2087
|
};
|
|
2055
2088
|
dependencies: [
|
|
2056
2089
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2057
|
-
pluginConfiguration:
|
|
2058
|
-
sharedState:
|
|
2059
|
-
},
|
|
2090
|
+
pluginConfiguration: FeatureFlags;
|
|
2091
|
+
sharedState: FeatureFlags;
|
|
2092
|
+
}, FeatureFlags>>
|
|
2060
2093
|
];
|
|
2061
2094
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2062
|
-
}, import("@atlaskit/editor-
|
|
2095
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2063
2096
|
];
|
|
2064
|
-
sharedState: import("@atlaskit/editor-
|
|
2097
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2065
2098
|
actions: {
|
|
2066
2099
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2067
2100
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2068
2101
|
insert: (props: {
|
|
2069
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2102
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2070
2103
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
2071
2104
|
query: string;
|
|
2072
2105
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
2073
2106
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2074
2107
|
}) => boolean;
|
|
2075
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
2108
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
2076
2109
|
open: (props: {
|
|
2077
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2078
|
-
inputMethod: import("@atlaskit/editor-
|
|
2110
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2111
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2079
2112
|
query?: string | undefined;
|
|
2080
2113
|
}) => boolean;
|
|
2081
2114
|
close: (props: {
|
|
@@ -2083,54 +2116,54 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2083
2116
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
2084
2117
|
}) => boolean;
|
|
2085
2118
|
openAtTransaction: (props: {
|
|
2086
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2087
|
-
inputMethod: import("@atlaskit/editor-
|
|
2119
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2120
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2088
2121
|
query?: string | undefined;
|
|
2089
2122
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2090
2123
|
};
|
|
2091
2124
|
}, TypeAheadPluginOptions | undefined>,
|
|
2092
2125
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
2093
|
-
sharedState: import("@atlaskit/editor-
|
|
2126
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
2094
2127
|
}, undefined>
|
|
2095
2128
|
];
|
|
2096
2129
|
}, undefined>>,
|
|
2097
2130
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
2098
|
-
sharedState: import("@atlaskit/editor-
|
|
2131
|
+
sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
|
|
2099
2132
|
}, undefined>>,
|
|
2100
2133
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
2101
2134
|
pluginConfiguration: TypeAheadPluginOptions | undefined;
|
|
2102
2135
|
dependencies: [
|
|
2103
2136
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2104
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2137
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2105
2138
|
sharedState: {
|
|
2106
2139
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2107
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2108
|
-
performanceTracking:
|
|
2140
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2141
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2109
2142
|
};
|
|
2110
2143
|
dependencies: [
|
|
2111
2144
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2112
|
-
pluginConfiguration:
|
|
2113
|
-
sharedState:
|
|
2114
|
-
},
|
|
2145
|
+
pluginConfiguration: FeatureFlags;
|
|
2146
|
+
sharedState: FeatureFlags;
|
|
2147
|
+
}, FeatureFlags>>
|
|
2115
2148
|
];
|
|
2116
2149
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2117
|
-
}, import("@atlaskit/editor-
|
|
2150
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2118
2151
|
];
|
|
2119
|
-
sharedState: import("@atlaskit/editor-
|
|
2152
|
+
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2120
2153
|
actions: {
|
|
2121
2154
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2122
2155
|
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2123
2156
|
insert: (props: {
|
|
2124
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2157
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2125
2158
|
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
2126
2159
|
query: string;
|
|
2127
2160
|
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
2128
2161
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2129
2162
|
}) => boolean;
|
|
2130
|
-
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-
|
|
2163
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
2131
2164
|
open: (props: {
|
|
2132
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2133
|
-
inputMethod: import("@atlaskit/editor-
|
|
2165
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2166
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2134
2167
|
query?: string | undefined;
|
|
2135
2168
|
}) => boolean;
|
|
2136
2169
|
close: (props: {
|
|
@@ -2138,14 +2171,14 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2138
2171
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
2139
2172
|
}) => boolean;
|
|
2140
2173
|
openAtTransaction: (props: {
|
|
2141
|
-
triggerHandler: import("@atlaskit/editor-
|
|
2142
|
-
inputMethod: import("@atlaskit/editor-
|
|
2174
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2175
|
+
inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod;
|
|
2143
2176
|
query?: string | undefined;
|
|
2144
2177
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2145
2178
|
};
|
|
2146
2179
|
}, TypeAheadPluginOptions | undefined>,
|
|
2147
2180
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2148
|
-
sharedState: import("@atlaskit/editor-
|
|
2181
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2149
2182
|
actions: {
|
|
2150
2183
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2151
2184
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2155,17 +2188,17 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2155
2188
|
pluginConfiguration: BasePluginOptions | undefined;
|
|
2156
2189
|
dependencies: [
|
|
2157
2190
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2158
|
-
pluginConfiguration:
|
|
2159
|
-
sharedState:
|
|
2160
|
-
},
|
|
2191
|
+
pluginConfiguration: FeatureFlags;
|
|
2192
|
+
sharedState: FeatureFlags;
|
|
2193
|
+
}, FeatureFlags>>
|
|
2161
2194
|
];
|
|
2162
|
-
sharedState: import("@atlaskit/editor-
|
|
2195
|
+
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
2163
2196
|
actions: {
|
|
2164
2197
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
2165
2198
|
};
|
|
2166
2199
|
}, BasePluginOptions | undefined>,
|
|
2167
2200
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
2168
|
-
sharedState: import("@atlaskit/editor-
|
|
2201
|
+
sharedState: import("@atlaskit/editor-plugins/composition").CompositionState;
|
|
2169
2202
|
}, undefined>,
|
|
2170
2203
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2171
2204
|
sharedState: {
|
|
@@ -2177,30 +2210,30 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2177
2210
|
pluginConfiguration: PastePluginOptions;
|
|
2178
2211
|
dependencies: [
|
|
2179
2212
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2180
|
-
pluginConfiguration:
|
|
2181
|
-
sharedState:
|
|
2182
|
-
},
|
|
2213
|
+
pluginConfiguration: FeatureFlags;
|
|
2214
|
+
sharedState: FeatureFlags;
|
|
2215
|
+
}, FeatureFlags>>,
|
|
2183
2216
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
2184
2217
|
dependencies: [
|
|
2185
2218
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2186
|
-
pluginConfiguration:
|
|
2187
|
-
sharedState:
|
|
2188
|
-
},
|
|
2219
|
+
pluginConfiguration: FeatureFlags;
|
|
2220
|
+
sharedState: FeatureFlags;
|
|
2221
|
+
}, FeatureFlags>>,
|
|
2189
2222
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2190
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2223
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2191
2224
|
sharedState: {
|
|
2192
2225
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2193
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2194
|
-
performanceTracking:
|
|
2226
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2227
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2195
2228
|
};
|
|
2196
2229
|
dependencies: [
|
|
2197
2230
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2198
|
-
pluginConfiguration:
|
|
2199
|
-
sharedState:
|
|
2200
|
-
},
|
|
2231
|
+
pluginConfiguration: FeatureFlags;
|
|
2232
|
+
sharedState: FeatureFlags;
|
|
2233
|
+
}, FeatureFlags>>
|
|
2201
2234
|
];
|
|
2202
2235
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2203
|
-
}, import("@atlaskit/editor-
|
|
2236
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2204
2237
|
];
|
|
2205
2238
|
actions: {
|
|
2206
2239
|
isInsideListItem: import("@atlaskit/editor-plugin-list").IsInsideListItem;
|
|
@@ -2215,35 +2248,35 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2215
2248
|
sharedState: import("@atlaskit/editor-plugin-list").ListState | undefined;
|
|
2216
2249
|
}, undefined>>,
|
|
2217
2250
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
2218
|
-
actions: import("@atlaskit/editor-
|
|
2251
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
2219
2252
|
}, undefined>,
|
|
2220
2253
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
2221
2254
|
pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions;
|
|
2222
2255
|
dependencies: [
|
|
2223
2256
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2224
|
-
pluginConfiguration:
|
|
2225
|
-
sharedState:
|
|
2226
|
-
},
|
|
2257
|
+
pluginConfiguration: FeatureFlags;
|
|
2258
|
+
sharedState: FeatureFlags;
|
|
2259
|
+
}, FeatureFlags>>,
|
|
2227
2260
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2228
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2261
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2229
2262
|
sharedState: {
|
|
2230
2263
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2231
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2232
|
-
performanceTracking:
|
|
2264
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2265
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2233
2266
|
};
|
|
2234
2267
|
dependencies: [
|
|
2235
2268
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2236
|
-
pluginConfiguration:
|
|
2237
|
-
sharedState:
|
|
2238
|
-
},
|
|
2269
|
+
pluginConfiguration: FeatureFlags;
|
|
2270
|
+
sharedState: FeatureFlags;
|
|
2271
|
+
}, FeatureFlags>>
|
|
2239
2272
|
];
|
|
2240
2273
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2241
|
-
}, import("@atlaskit/editor-
|
|
2274
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2242
2275
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2243
2276
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2244
2277
|
}, undefined>,
|
|
2245
2278
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2246
|
-
sharedState: import("@atlaskit/editor-
|
|
2279
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2247
2280
|
actions: {
|
|
2248
2281
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2249
2282
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2258,7 +2291,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2258
2291
|
];
|
|
2259
2292
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
2260
2293
|
actions: {
|
|
2261
|
-
displayGrid: (view:
|
|
2294
|
+
displayGrid: (view: EditorView) => (props: {
|
|
2262
2295
|
visible: boolean;
|
|
2263
2296
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
2264
2297
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -2268,11 +2301,11 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2268
2301
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2269
2302
|
dependencies: [
|
|
2270
2303
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2271
|
-
pluginConfiguration:
|
|
2272
|
-
sharedState:
|
|
2273
|
-
},
|
|
2304
|
+
pluginConfiguration: FeatureFlags;
|
|
2305
|
+
sharedState: FeatureFlags;
|
|
2306
|
+
}, FeatureFlags>>,
|
|
2274
2307
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2275
|
-
sharedState: import("@atlaskit/editor-
|
|
2308
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2276
2309
|
actions: {
|
|
2277
2310
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2278
2311
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2287,29 +2320,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2287
2320
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2288
2321
|
dependencies: [
|
|
2289
2322
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2290
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2323
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2291
2324
|
sharedState: {
|
|
2292
2325
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2293
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2294
|
-
performanceTracking:
|
|
2326
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2327
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2295
2328
|
};
|
|
2296
2329
|
dependencies: [
|
|
2297
2330
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2298
|
-
pluginConfiguration:
|
|
2299
|
-
sharedState:
|
|
2300
|
-
},
|
|
2331
|
+
pluginConfiguration: FeatureFlags;
|
|
2332
|
+
sharedState: FeatureFlags;
|
|
2333
|
+
}, FeatureFlags>>
|
|
2301
2334
|
];
|
|
2302
2335
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2303
|
-
}, import("@atlaskit/editor-
|
|
2336
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2304
2337
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2305
|
-
pluginConfiguration:
|
|
2306
|
-
sharedState:
|
|
2307
|
-
},
|
|
2338
|
+
pluginConfiguration: FeatureFlags;
|
|
2339
|
+
sharedState: FeatureFlags;
|
|
2340
|
+
}, FeatureFlags>>,
|
|
2308
2341
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2309
2342
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2310
2343
|
}, undefined>,
|
|
2311
2344
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2312
|
-
sharedState: import("@atlaskit/editor-
|
|
2345
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2313
2346
|
actions: {
|
|
2314
2347
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2315
2348
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2327,7 +2360,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2327
2360
|
actions: {
|
|
2328
2361
|
editSelectedExtension: () => boolean;
|
|
2329
2362
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
2330
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
2363
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2331
2364
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2332
2365
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2333
2366
|
};
|
|
@@ -2335,27 +2368,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2335
2368
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2336
2369
|
dependencies: [
|
|
2337
2370
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2338
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2371
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2339
2372
|
sharedState: {
|
|
2340
2373
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2341
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2342
|
-
performanceTracking:
|
|
2374
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2375
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2343
2376
|
};
|
|
2344
2377
|
dependencies: [
|
|
2345
2378
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2346
|
-
pluginConfiguration:
|
|
2347
|
-
sharedState:
|
|
2348
|
-
},
|
|
2379
|
+
pluginConfiguration: FeatureFlags;
|
|
2380
|
+
sharedState: FeatureFlags;
|
|
2381
|
+
}, FeatureFlags>>
|
|
2349
2382
|
];
|
|
2350
2383
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2351
|
-
}, import("@atlaskit/editor-
|
|
2384
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2352
2385
|
];
|
|
2353
2386
|
actions: {
|
|
2354
2387
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
2355
2388
|
};
|
|
2356
2389
|
}, undefined>,
|
|
2357
2390
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2358
|
-
sharedState: import("@atlaskit/editor-
|
|
2391
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2359
2392
|
}, undefined>,
|
|
2360
2393
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2361
2394
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -2370,40 +2403,40 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2370
2403
|
} | undefined>>
|
|
2371
2404
|
];
|
|
2372
2405
|
actions: {
|
|
2373
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
2406
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
2374
2407
|
};
|
|
2375
2408
|
sharedState: {
|
|
2376
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
2377
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
2409
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
2410
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
2378
2411
|
} | undefined;
|
|
2379
2412
|
}, undefined>,
|
|
2380
2413
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
2381
2414
|
pluginConfiguration: HyperlinkPluginOptions | undefined;
|
|
2382
2415
|
dependencies: [
|
|
2383
2416
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2384
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2417
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2385
2418
|
sharedState: {
|
|
2386
2419
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2387
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2388
|
-
performanceTracking:
|
|
2420
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2421
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2389
2422
|
};
|
|
2390
2423
|
dependencies: [
|
|
2391
2424
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2392
|
-
pluginConfiguration:
|
|
2393
|
-
sharedState:
|
|
2394
|
-
},
|
|
2425
|
+
pluginConfiguration: FeatureFlags;
|
|
2426
|
+
sharedState: FeatureFlags;
|
|
2427
|
+
}, FeatureFlags>>
|
|
2395
2428
|
];
|
|
2396
2429
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2397
|
-
}, import("@atlaskit/editor-
|
|
2430
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2398
2431
|
];
|
|
2399
2432
|
actions: {
|
|
2400
|
-
prependToolbarButtons: import("@atlaskit/editor-
|
|
2401
|
-
hideLinkToolbar: import("@atlaskit/editor-
|
|
2402
|
-
insertLink: import("@atlaskit/editor-
|
|
2403
|
-
updateLink: import("@atlaskit/editor-
|
|
2433
|
+
prependToolbarButtons: import("@atlaskit/editor-plugins/hyperlink").PrependToolbarButtons;
|
|
2434
|
+
hideLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").HideLinkToolbar;
|
|
2435
|
+
insertLink: import("@atlaskit/editor-plugins/hyperlink").InsertLink;
|
|
2436
|
+
updateLink: import("@atlaskit/editor-plugins/hyperlink").UpdateLink;
|
|
2404
2437
|
};
|
|
2405
2438
|
commands: {
|
|
2406
|
-
showLinkToolbar: import("@atlaskit/editor-
|
|
2439
|
+
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
2407
2440
|
};
|
|
2408
2441
|
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
2409
2442
|
}, HyperlinkPluginOptions | undefined>
|
|
@@ -2412,42 +2445,42 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2412
2445
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
2413
2446
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions>>,
|
|
2414
2447
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2415
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2448
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2416
2449
|
sharedState: {
|
|
2417
2450
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2418
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2419
|
-
performanceTracking:
|
|
2451
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2452
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2420
2453
|
};
|
|
2421
2454
|
dependencies: [
|
|
2422
2455
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2423
|
-
pluginConfiguration:
|
|
2424
|
-
sharedState:
|
|
2425
|
-
},
|
|
2456
|
+
pluginConfiguration: FeatureFlags;
|
|
2457
|
+
sharedState: FeatureFlags;
|
|
2458
|
+
}, FeatureFlags>>
|
|
2426
2459
|
];
|
|
2427
2460
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2428
|
-
}, import("@atlaskit/editor-
|
|
2461
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2429
2462
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2430
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2463
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2431
2464
|
dependencies: [
|
|
2432
2465
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2433
|
-
pluginConfiguration:
|
|
2434
|
-
sharedState:
|
|
2435
|
-
},
|
|
2466
|
+
pluginConfiguration: FeatureFlags;
|
|
2467
|
+
sharedState: FeatureFlags;
|
|
2468
|
+
}, FeatureFlags>>,
|
|
2436
2469
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2437
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2470
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2438
2471
|
sharedState: {
|
|
2439
2472
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2440
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2441
|
-
performanceTracking:
|
|
2473
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2474
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2442
2475
|
};
|
|
2443
2476
|
dependencies: [
|
|
2444
2477
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2445
|
-
pluginConfiguration:
|
|
2446
|
-
sharedState:
|
|
2447
|
-
},
|
|
2478
|
+
pluginConfiguration: FeatureFlags;
|
|
2479
|
+
sharedState: FeatureFlags;
|
|
2480
|
+
}, FeatureFlags>>
|
|
2448
2481
|
];
|
|
2449
2482
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2450
|
-
}, import("@atlaskit/editor-
|
|
2483
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2451
2484
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2452
2485
|
dependencies: [
|
|
2453
2486
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -2468,7 +2501,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2468
2501
|
];
|
|
2469
2502
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
2470
2503
|
actions: {
|
|
2471
|
-
displayGrid: (view:
|
|
2504
|
+
displayGrid: (view: EditorView) => (props: {
|
|
2472
2505
|
visible: boolean;
|
|
2473
2506
|
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
2474
2507
|
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
@@ -2479,7 +2512,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2479
2512
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2480
2513
|
}, undefined>,
|
|
2481
2514
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2482
|
-
sharedState: import("@atlaskit/editor-
|
|
2515
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2483
2516
|
actions: {
|
|
2484
2517
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2485
2518
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2488,11 +2521,11 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2488
2521
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2489
2522
|
dependencies: [
|
|
2490
2523
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2491
|
-
pluginConfiguration:
|
|
2492
|
-
sharedState:
|
|
2493
|
-
},
|
|
2524
|
+
pluginConfiguration: FeatureFlags;
|
|
2525
|
+
sharedState: FeatureFlags;
|
|
2526
|
+
}, FeatureFlags>>,
|
|
2494
2527
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2495
|
-
sharedState: import("@atlaskit/editor-
|
|
2528
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2496
2529
|
actions: {
|
|
2497
2530
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2498
2531
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2507,29 +2540,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2507
2540
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2508
2541
|
dependencies: [
|
|
2509
2542
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2510
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2543
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2511
2544
|
sharedState: {
|
|
2512
2545
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2513
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2514
|
-
performanceTracking:
|
|
2546
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2547
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2515
2548
|
};
|
|
2516
2549
|
dependencies: [
|
|
2517
2550
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2518
|
-
pluginConfiguration:
|
|
2519
|
-
sharedState:
|
|
2520
|
-
},
|
|
2551
|
+
pluginConfiguration: FeatureFlags;
|
|
2552
|
+
sharedState: FeatureFlags;
|
|
2553
|
+
}, FeatureFlags>>
|
|
2521
2554
|
];
|
|
2522
2555
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2523
|
-
}, import("@atlaskit/editor-
|
|
2556
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2524
2557
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2525
|
-
pluginConfiguration:
|
|
2526
|
-
sharedState:
|
|
2527
|
-
},
|
|
2558
|
+
pluginConfiguration: FeatureFlags;
|
|
2559
|
+
sharedState: FeatureFlags;
|
|
2560
|
+
}, FeatureFlags>>,
|
|
2528
2561
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2529
2562
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2530
2563
|
}, undefined>,
|
|
2531
2564
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2532
|
-
sharedState: import("@atlaskit/editor-
|
|
2565
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2533
2566
|
actions: {
|
|
2534
2567
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2535
2568
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2547,7 +2580,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2547
2580
|
actions: {
|
|
2548
2581
|
editSelectedExtension: () => boolean;
|
|
2549
2582
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
2550
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
2583
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2551
2584
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2552
2585
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2553
2586
|
};
|
|
@@ -2555,27 +2588,27 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2555
2588
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"copyButton", {
|
|
2556
2589
|
dependencies: [
|
|
2557
2590
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2558
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2591
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2559
2592
|
sharedState: {
|
|
2560
2593
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2561
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2562
|
-
performanceTracking:
|
|
2594
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2595
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2563
2596
|
};
|
|
2564
2597
|
dependencies: [
|
|
2565
2598
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2566
|
-
pluginConfiguration:
|
|
2567
|
-
sharedState:
|
|
2568
|
-
},
|
|
2599
|
+
pluginConfiguration: FeatureFlags;
|
|
2600
|
+
sharedState: FeatureFlags;
|
|
2601
|
+
}, FeatureFlags>>
|
|
2569
2602
|
];
|
|
2570
2603
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2571
|
-
}, import("@atlaskit/editor-
|
|
2604
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2572
2605
|
];
|
|
2573
2606
|
actions: {
|
|
2574
2607
|
processCopyButtonItems: (state: import("prosemirror-state").EditorState) => (items: import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[], hoverDecoration: ((nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command) | undefined) => import("@atlaskit/editor-common/types").FloatingToolbarItem<import("@atlaskit/editor-common/types").Command>[];
|
|
2575
2608
|
};
|
|
2576
2609
|
}, undefined>,
|
|
2577
2610
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2578
|
-
sharedState: import("@atlaskit/editor-
|
|
2611
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2579
2612
|
}, undefined>,
|
|
2580
2613
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2581
2614
|
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
@@ -2590,15 +2623,15 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2590
2623
|
} | undefined>>
|
|
2591
2624
|
];
|
|
2592
2625
|
actions: {
|
|
2593
|
-
forceFocusSelector: import("@atlaskit/editor-
|
|
2626
|
+
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
2594
2627
|
};
|
|
2595
2628
|
sharedState: {
|
|
2596
|
-
configWithNodeInfo: import("@atlaskit/editor-
|
|
2597
|
-
floatingToolbarData: import("@atlaskit/editor-
|
|
2629
|
+
configWithNodeInfo: import("@atlaskit/editor-plugins/floating-toolbar").ConfigWithNodeInfo | undefined;
|
|
2630
|
+
floatingToolbarData: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginData | undefined;
|
|
2598
2631
|
} | undefined;
|
|
2599
2632
|
}, undefined>,
|
|
2600
2633
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2601
|
-
sharedState: import("@atlaskit/editor-
|
|
2634
|
+
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2602
2635
|
}, undefined>,
|
|
2603
2636
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2604
2637
|
sharedState: {
|
|
@@ -2606,46 +2639,46 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2606
2639
|
};
|
|
2607
2640
|
}, undefined>,
|
|
2608
2641
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2609
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2610
|
-
actions: import("@atlaskit/editor-
|
|
2642
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2643
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2611
2644
|
commands: {
|
|
2612
2645
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2613
2646
|
};
|
|
2614
2647
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2615
|
-
}, import("@atlaskit/editor-
|
|
2648
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
2616
2649
|
];
|
|
2617
|
-
sharedState: import("@atlaskit/editor-
|
|
2650
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2618
2651
|
actions: {
|
|
2619
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
2652
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2620
2653
|
};
|
|
2621
|
-
}, import("@atlaskit/editor-
|
|
2654
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
2622
2655
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2623
2656
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
2624
2657
|
dependencies: [
|
|
2625
2658
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2626
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2659
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2627
2660
|
sharedState: {
|
|
2628
2661
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2629
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2630
|
-
performanceTracking:
|
|
2662
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2663
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2631
2664
|
};
|
|
2632
2665
|
dependencies: [
|
|
2633
2666
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2634
|
-
pluginConfiguration:
|
|
2635
|
-
sharedState:
|
|
2636
|
-
},
|
|
2667
|
+
pluginConfiguration: FeatureFlags;
|
|
2668
|
+
sharedState: FeatureFlags;
|
|
2669
|
+
}, FeatureFlags>>
|
|
2637
2670
|
];
|
|
2638
2671
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2639
|
-
}, import("@atlaskit/editor-
|
|
2672
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2640
2673
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2641
|
-
pluginConfiguration:
|
|
2642
|
-
sharedState:
|
|
2643
|
-
},
|
|
2674
|
+
pluginConfiguration: FeatureFlags;
|
|
2675
|
+
sharedState: FeatureFlags;
|
|
2676
|
+
}, FeatureFlags>>,
|
|
2644
2677
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2645
2678
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2646
2679
|
}, undefined>,
|
|
2647
2680
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2648
|
-
sharedState: import("@atlaskit/editor-
|
|
2681
|
+
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2649
2682
|
actions: {
|
|
2650
2683
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2651
2684
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
@@ -2663,30 +2696,41 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2663
2696
|
actions: {
|
|
2664
2697
|
editSelectedExtension: () => boolean;
|
|
2665
2698
|
api: () => import("@atlaskit/editor-common/extensions").ExtensionAPI<import("@atlaskit/editor-common/extensions").Parameters>;
|
|
2666
|
-
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view:
|
|
2699
|
+
insertMacroFromMacroBrowser: (macroProvider: import("@atlaskit/editor-common/provider-factory").MacroProvider, macroNode?: import("prosemirror-model").Node | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
2667
2700
|
runMacroAutoConvert: import("@atlaskit/editor-plugin-extension").RunMacroAutoConvert;
|
|
2668
2701
|
forceAutoSave: (applyChangeToContextPanel: import("@atlaskit/editor-plugin-context-panel").ApplyChangeHandler | undefined) => (resolve: () => void, reject?: import("@atlaskit/editor-plugin-extension").RejectSave | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2669
2702
|
};
|
|
2670
2703
|
}, import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined>>,
|
|
2671
2704
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2672
2705
|
pluginConfiguration: AnnotationProviders | undefined;
|
|
2673
|
-
sharedState: import("@atlaskit/editor-
|
|
2706
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2674
2707
|
dependencies: [
|
|
2675
2708
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2676
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2709
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2677
2710
|
sharedState: {
|
|
2678
2711
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2679
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2680
|
-
performanceTracking:
|
|
2712
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2713
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2681
2714
|
};
|
|
2682
2715
|
dependencies: [
|
|
2683
2716
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2684
|
-
pluginConfiguration:
|
|
2685
|
-
sharedState:
|
|
2686
|
-
},
|
|
2717
|
+
pluginConfiguration: FeatureFlags;
|
|
2718
|
+
sharedState: FeatureFlags;
|
|
2719
|
+
}, FeatureFlags>>
|
|
2687
2720
|
];
|
|
2688
2721
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2689
|
-
}, import("@atlaskit/editor-
|
|
2722
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2723
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2724
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2725
|
+
pluginConfiguration?: {
|
|
2726
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2727
|
+
} | undefined;
|
|
2728
|
+
commands: {
|
|
2729
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2730
|
+
};
|
|
2731
|
+
}, {
|
|
2732
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2733
|
+
} | undefined>>
|
|
2690
2734
|
];
|
|
2691
2735
|
actions: {
|
|
2692
2736
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -2694,29 +2738,29 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2694
2738
|
}, AnnotationProviders | undefined>>
|
|
2695
2739
|
];
|
|
2696
2740
|
sharedState: {
|
|
2697
|
-
lastContentPasted: import("@atlaskit/editor-
|
|
2741
|
+
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
2698
2742
|
};
|
|
2699
2743
|
}, PastePluginOptions>,
|
|
2700
2744
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"betterTypeHistory", {
|
|
2701
|
-
actions: import("@atlaskit/editor-
|
|
2745
|
+
actions: import("@atlaskit/editor-plugins/better-type-history").BetterTypeHistoryAPI;
|
|
2702
2746
|
}, undefined>,
|
|
2703
2747
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2704
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2748
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2705
2749
|
sharedState: {
|
|
2706
2750
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2707
|
-
attachAnalyticsEvent: import("@atlaskit/editor-
|
|
2708
|
-
performanceTracking:
|
|
2751
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2752
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2709
2753
|
};
|
|
2710
2754
|
dependencies: [
|
|
2711
2755
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2712
|
-
pluginConfiguration:
|
|
2713
|
-
sharedState:
|
|
2714
|
-
},
|
|
2756
|
+
pluginConfiguration: FeatureFlags;
|
|
2757
|
+
sharedState: FeatureFlags;
|
|
2758
|
+
}, FeatureFlags>>
|
|
2715
2759
|
];
|
|
2716
2760
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2717
|
-
}, import("@atlaskit/editor-
|
|
2761
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2718
2762
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2719
|
-
pluginConfiguration:
|
|
2720
|
-
sharedState:
|
|
2721
|
-
},
|
|
2763
|
+
pluginConfiguration: FeatureFlags;
|
|
2764
|
+
sharedState: FeatureFlags;
|
|
2765
|
+
}, FeatureFlags>
|
|
2722
2766
|
]>[];
|