@atlaskit/editor-core 203.2.1 → 203.2.3
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 +23 -0
- package/dist/cjs/composable-editor/core-editor.js +2 -0
- package/dist/cjs/composable-editor/editor-internal.js +2 -3
- package/dist/cjs/composable-editor/temp_useTrackDangerousPlugins.js +35 -0
- package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -1
- package/dist/cjs/ui/ContentStyles/layout.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +2 -0
- package/dist/es2019/composable-editor/editor-internal.js +2 -3
- package/dist/es2019/composable-editor/temp_useTrackDangerousPlugins.js +27 -0
- package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -1
- package/dist/es2019/ui/ContentStyles/layout.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +2 -0
- package/dist/esm/composable-editor/editor-internal.js +2 -3
- package/dist/esm/composable-editor/temp_useTrackDangerousPlugins.js +29 -0
- package/dist/esm/create-editor/ReactEditorViewNext.js +1 -1
- package/dist/esm/ui/ContentStyles/layout.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
- package/dist/types/create-editor/create-universal-preset.d.ts +244 -19
- package/dist/types/presets/default.d.ts +174 -14
- package/dist/types/presets/universal.d.ts +244 -19
- package/dist/types/presets/useUniversalPreset.d.ts +244 -19
- package/dist/types-ts4.5/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +276 -18
- package/dist/types-ts4.5/presets/default.d.ts +198 -14
- package/dist/types-ts4.5/presets/universal.d.ts +276 -18
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +276 -18
- package/package.json +20 -9
- package/dist/cjs/nodeviews/context-adapter.js +0 -78
- package/dist/es2019/nodeviews/context-adapter.js +0 -48
- package/dist/esm/nodeviews/context-adapter.js +0 -71
- package/dist/types/nodeviews/context-adapter.d.ts +0 -2
- package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +0 -2
|
@@ -579,7 +579,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
579
579
|
query?: string | undefined;
|
|
580
580
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
581
581
|
};
|
|
582
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
582
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
583
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
584
|
+
sharedState: {
|
|
585
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
586
|
+
isVisible: boolean;
|
|
587
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
588
|
+
mouseData: {
|
|
589
|
+
isSelecting: boolean;
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
actions: {
|
|
593
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
594
|
+
};
|
|
595
|
+
}, undefined>>,
|
|
596
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
597
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
598
|
+
}, undefined>>
|
|
583
599
|
];
|
|
584
600
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
585
601
|
commands: {
|
|
@@ -609,7 +625,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
609
625
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
610
626
|
};
|
|
611
627
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
612
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
628
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
|
|
629
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
630
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
631
|
+
actions: {
|
|
632
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
633
|
+
};
|
|
634
|
+
}, undefined>>
|
|
613
635
|
];
|
|
614
636
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
615
637
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -1018,7 +1040,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1018
1040
|
query?: string | undefined;
|
|
1019
1041
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1020
1042
|
};
|
|
1021
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
1043
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
1044
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1045
|
+
sharedState: {
|
|
1046
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
1047
|
+
isVisible: boolean;
|
|
1048
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
1049
|
+
mouseData: {
|
|
1050
|
+
isSelecting: boolean;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
actions: {
|
|
1054
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1055
|
+
};
|
|
1056
|
+
}, undefined>>,
|
|
1057
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1058
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
1059
|
+
}, undefined>>
|
|
1022
1060
|
];
|
|
1023
1061
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
1024
1062
|
commands: {
|
|
@@ -1922,7 +1960,25 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1922
1960
|
}, FeatureFlags>>
|
|
1923
1961
|
];
|
|
1924
1962
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1925
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1963
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1964
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1965
|
+
actions: {
|
|
1966
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1967
|
+
};
|
|
1968
|
+
sharedState: {
|
|
1969
|
+
annotations: Record<string, boolean>;
|
|
1970
|
+
isVisible: boolean;
|
|
1971
|
+
bookmark: boolean;
|
|
1972
|
+
mouseData: {
|
|
1973
|
+
isSelecting: boolean;
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
}, undefined>>,
|
|
1977
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1978
|
+
sharedState: {
|
|
1979
|
+
mode: "edit" | "view";
|
|
1980
|
+
};
|
|
1981
|
+
}, undefined>>
|
|
1926
1982
|
];
|
|
1927
1983
|
pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
|
|
1928
1984
|
actions: {
|
|
@@ -2317,7 +2373,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2317
2373
|
query?: string | undefined;
|
|
2318
2374
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2319
2375
|
};
|
|
2320
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2376
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
2377
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2378
|
+
sharedState: {
|
|
2379
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2380
|
+
isVisible: boolean;
|
|
2381
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2382
|
+
mouseData: {
|
|
2383
|
+
isSelecting: boolean;
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
actions: {
|
|
2387
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2388
|
+
};
|
|
2389
|
+
}, undefined>>,
|
|
2390
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2391
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2392
|
+
}, undefined>>
|
|
2321
2393
|
];
|
|
2322
2394
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2323
2395
|
commands: {
|
|
@@ -2347,7 +2419,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2347
2419
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2348
2420
|
};
|
|
2349
2421
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2350
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
2422
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
|
|
2423
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2424
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
2425
|
+
actions: {
|
|
2426
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
2427
|
+
};
|
|
2428
|
+
}, undefined>>
|
|
2351
2429
|
];
|
|
2352
2430
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
2353
2431
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -2362,6 +2440,14 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2362
2440
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
2363
2441
|
};
|
|
2364
2442
|
}, undefined>,
|
|
2443
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2444
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
2445
|
+
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2446
|
+
commands: {
|
|
2447
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2448
|
+
};
|
|
2449
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2450
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>,
|
|
2365
2451
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2366
2452
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2367
2453
|
sharedState: {
|
|
@@ -2946,7 +3032,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2946
3032
|
query?: string | undefined;
|
|
2947
3033
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2948
3034
|
};
|
|
2949
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3035
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
3036
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3037
|
+
sharedState: {
|
|
3038
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
3039
|
+
isVisible: boolean;
|
|
3040
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3041
|
+
mouseData: {
|
|
3042
|
+
isSelecting: boolean;
|
|
3043
|
+
};
|
|
3044
|
+
};
|
|
3045
|
+
actions: {
|
|
3046
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3047
|
+
};
|
|
3048
|
+
}, undefined>>,
|
|
3049
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3050
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3051
|
+
}, undefined>>
|
|
2950
3052
|
];
|
|
2951
3053
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2952
3054
|
commands: {
|
|
@@ -3415,7 +3517,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3415
3517
|
query?: string | undefined;
|
|
3416
3518
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3417
3519
|
};
|
|
3418
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3520
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
3521
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3522
|
+
sharedState: {
|
|
3523
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
3524
|
+
isVisible: boolean;
|
|
3525
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3526
|
+
mouseData: {
|
|
3527
|
+
isSelecting: boolean;
|
|
3528
|
+
};
|
|
3529
|
+
};
|
|
3530
|
+
actions: {
|
|
3531
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3532
|
+
};
|
|
3533
|
+
}, undefined>>,
|
|
3534
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3535
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3536
|
+
}, undefined>>
|
|
3419
3537
|
];
|
|
3420
3538
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
3421
3539
|
commands: {
|
|
@@ -4021,7 +4139,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4021
4139
|
query?: string | undefined;
|
|
4022
4140
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4023
4141
|
};
|
|
4024
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
4142
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
4143
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4144
|
+
sharedState: {
|
|
4145
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
4146
|
+
isVisible: boolean;
|
|
4147
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4148
|
+
mouseData: {
|
|
4149
|
+
isSelecting: boolean;
|
|
4150
|
+
};
|
|
4151
|
+
};
|
|
4152
|
+
actions: {
|
|
4153
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4154
|
+
};
|
|
4155
|
+
}, undefined>>,
|
|
4156
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4157
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
4158
|
+
}, undefined>>
|
|
4025
4159
|
];
|
|
4026
4160
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
4027
4161
|
commands: {
|
|
@@ -4553,7 +4687,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4553
4687
|
query?: string | undefined;
|
|
4554
4688
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4555
4689
|
};
|
|
4556
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
4690
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
4691
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4692
|
+
sharedState: {
|
|
4693
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
4694
|
+
isVisible: boolean;
|
|
4695
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4696
|
+
mouseData: {
|
|
4697
|
+
isSelecting: boolean;
|
|
4698
|
+
};
|
|
4699
|
+
};
|
|
4700
|
+
actions: {
|
|
4701
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4702
|
+
};
|
|
4703
|
+
}, undefined>>,
|
|
4704
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4705
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
4706
|
+
}, undefined>>
|
|
4557
4707
|
];
|
|
4558
4708
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
4559
4709
|
commands: {
|
|
@@ -5139,7 +5289,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5139
5289
|
query?: string | undefined;
|
|
5140
5290
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5141
5291
|
};
|
|
5142
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
5292
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
5293
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5294
|
+
sharedState: {
|
|
5295
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5296
|
+
isVisible: boolean;
|
|
5297
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5298
|
+
mouseData: {
|
|
5299
|
+
isSelecting: boolean;
|
|
5300
|
+
};
|
|
5301
|
+
};
|
|
5302
|
+
actions: {
|
|
5303
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5304
|
+
};
|
|
5305
|
+
}, undefined>>,
|
|
5306
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5307
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5308
|
+
}, undefined>>
|
|
5143
5309
|
];
|
|
5144
5310
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5145
5311
|
commands: {
|
|
@@ -6252,7 +6418,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6252
6418
|
query?: string | undefined;
|
|
6253
6419
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6254
6420
|
};
|
|
6255
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
6421
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
6422
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6423
|
+
sharedState: {
|
|
6424
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
6425
|
+
isVisible: boolean;
|
|
6426
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6427
|
+
mouseData: {
|
|
6428
|
+
isSelecting: boolean;
|
|
6429
|
+
};
|
|
6430
|
+
};
|
|
6431
|
+
actions: {
|
|
6432
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6433
|
+
};
|
|
6434
|
+
}, undefined>>,
|
|
6435
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6436
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6437
|
+
}, undefined>>
|
|
6256
6438
|
];
|
|
6257
6439
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
6258
6440
|
commands: {
|
|
@@ -6686,7 +6868,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6686
6868
|
query?: string | undefined;
|
|
6687
6869
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6688
6870
|
};
|
|
6689
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
6871
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
6872
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6873
|
+
sharedState: {
|
|
6874
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
6875
|
+
isVisible: boolean;
|
|
6876
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6877
|
+
mouseData: {
|
|
6878
|
+
isSelecting: boolean;
|
|
6879
|
+
};
|
|
6880
|
+
};
|
|
6881
|
+
actions: {
|
|
6882
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6883
|
+
};
|
|
6884
|
+
}, undefined>>,
|
|
6885
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6886
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6887
|
+
}, undefined>>
|
|
6690
6888
|
];
|
|
6691
6889
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
6692
6890
|
commands: {
|
|
@@ -7454,7 +7652,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7454
7652
|
query?: string | undefined;
|
|
7455
7653
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
7456
7654
|
};
|
|
7457
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
7655
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
7656
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
7657
|
+
sharedState: {
|
|
7658
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
7659
|
+
isVisible: boolean;
|
|
7660
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
7661
|
+
mouseData: {
|
|
7662
|
+
isSelecting: boolean;
|
|
7663
|
+
};
|
|
7664
|
+
};
|
|
7665
|
+
actions: {
|
|
7666
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
7667
|
+
};
|
|
7668
|
+
}, undefined>>,
|
|
7669
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7670
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
7671
|
+
}, undefined>>
|
|
7458
7672
|
];
|
|
7459
7673
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
7460
7674
|
commands: {
|
|
@@ -7484,7 +7698,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7484
7698
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7485
7699
|
};
|
|
7486
7700
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
7487
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
7701
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
|
|
7702
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
7703
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
7704
|
+
actions: {
|
|
7705
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
7706
|
+
};
|
|
7707
|
+
}, undefined>>
|
|
7488
7708
|
];
|
|
7489
7709
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
7490
7710
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -8178,7 +8398,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
8178
8398
|
query?: string | undefined;
|
|
8179
8399
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
8180
8400
|
};
|
|
8181
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
8401
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
8402
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
8403
|
+
sharedState: {
|
|
8404
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
8405
|
+
isVisible: boolean;
|
|
8406
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
8407
|
+
mouseData: {
|
|
8408
|
+
isSelecting: boolean;
|
|
8409
|
+
};
|
|
8410
|
+
};
|
|
8411
|
+
actions: {
|
|
8412
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
8413
|
+
};
|
|
8414
|
+
}, undefined>>,
|
|
8415
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
8416
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
8417
|
+
}, undefined>>
|
|
8182
8418
|
];
|
|
8183
8419
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
8184
8420
|
commands: {
|
|
@@ -8208,7 +8444,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
8208
8444
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
8209
8445
|
};
|
|
8210
8446
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
8211
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
8447
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
|
|
8448
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
8449
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
8450
|
+
actions: {
|
|
8451
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
8452
|
+
};
|
|
8453
|
+
}, undefined>>
|
|
8212
8454
|
];
|
|
8213
8455
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
8214
8456
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -8617,7 +8859,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
8617
8859
|
query?: string | undefined;
|
|
8618
8860
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
8619
8861
|
};
|
|
8620
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
8862
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
8863
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
8864
|
+
sharedState: {
|
|
8865
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
8866
|
+
isVisible: boolean;
|
|
8867
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
8868
|
+
mouseData: {
|
|
8869
|
+
isSelecting: boolean;
|
|
8870
|
+
};
|
|
8871
|
+
};
|
|
8872
|
+
actions: {
|
|
8873
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
8874
|
+
};
|
|
8875
|
+
}, undefined>>,
|
|
8876
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
8877
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
8878
|
+
}, undefined>>
|
|
8621
8879
|
];
|
|
8622
8880
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
8623
8881
|
commands: {
|