@atlaskit/editor-core 203.2.0 → 203.2.2
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/dist/cjs/composable-editor/core-editor.js +2 -0
- 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/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/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 +236 -18
- package/dist/types/presets/default.d.ts +174 -14
- package/dist/types/presets/universal.d.ts +236 -18
- package/dist/types/presets/useUniversalPreset.d.ts +236 -18
- 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 +268 -18
- package/dist/types-ts4.5/presets/default.d.ts +198 -14
- package/dist/types-ts4.5/presets/universal.d.ts +268 -18
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +268 -18
- package/package.json +23 -8
|
@@ -443,7 +443,23 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
443
443
|
query?: string | undefined;
|
|
444
444
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
445
445
|
};
|
|
446
|
-
}, TypeAheadPluginOptions | undefined
|
|
446
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
447
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
448
|
+
sharedState: {
|
|
449
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
450
|
+
isVisible: boolean;
|
|
451
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
452
|
+
mouseData: {
|
|
453
|
+
isSelecting: boolean;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
actions: {
|
|
457
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
458
|
+
};
|
|
459
|
+
}, undefined>>,
|
|
460
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
461
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
462
|
+
}, undefined>>
|
|
447
463
|
];
|
|
448
464
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
449
465
|
commands: {
|
|
@@ -877,7 +893,23 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
877
893
|
query?: string | undefined;
|
|
878
894
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
879
895
|
};
|
|
880
|
-
}, TypeAheadPluginOptions | undefined
|
|
896
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
897
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
898
|
+
sharedState: {
|
|
899
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
900
|
+
isVisible: boolean;
|
|
901
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
902
|
+
mouseData: {
|
|
903
|
+
isSelecting: boolean;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
actions: {
|
|
907
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
908
|
+
};
|
|
909
|
+
}, undefined>>,
|
|
910
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
911
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
912
|
+
}, undefined>>
|
|
881
913
|
];
|
|
882
914
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
883
915
|
commands: {
|
|
@@ -1645,7 +1677,23 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1645
1677
|
query?: string | undefined;
|
|
1646
1678
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1647
1679
|
};
|
|
1648
|
-
}, TypeAheadPluginOptions | undefined
|
|
1680
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
1681
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1682
|
+
sharedState: {
|
|
1683
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
1684
|
+
isVisible: boolean;
|
|
1685
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
1686
|
+
mouseData: {
|
|
1687
|
+
isSelecting: boolean;
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
actions: {
|
|
1691
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1692
|
+
};
|
|
1693
|
+
}, undefined>>,
|
|
1694
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1695
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
1696
|
+
}, undefined>>
|
|
1649
1697
|
];
|
|
1650
1698
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
1651
1699
|
commands: {
|
|
@@ -1675,7 +1723,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1675
1723
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1676
1724
|
};
|
|
1677
1725
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1678
|
-
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined
|
|
1726
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
1727
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1728
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
1729
|
+
actions: {
|
|
1730
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1731
|
+
};
|
|
1732
|
+
}, undefined>>
|
|
1679
1733
|
];
|
|
1680
1734
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1681
1735
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -2369,7 +2423,23 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2369
2423
|
query?: string | undefined;
|
|
2370
2424
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2371
2425
|
};
|
|
2372
|
-
}, TypeAheadPluginOptions | undefined
|
|
2426
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
2427
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2428
|
+
sharedState: {
|
|
2429
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
2430
|
+
isVisible: boolean;
|
|
2431
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2432
|
+
mouseData: {
|
|
2433
|
+
isSelecting: boolean;
|
|
2434
|
+
};
|
|
2435
|
+
};
|
|
2436
|
+
actions: {
|
|
2437
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2438
|
+
};
|
|
2439
|
+
}, undefined>>,
|
|
2440
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2441
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2442
|
+
}, undefined>>
|
|
2373
2443
|
];
|
|
2374
2444
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
2375
2445
|
commands: {
|
|
@@ -2399,7 +2469,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2399
2469
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2400
2470
|
};
|
|
2401
2471
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2402
|
-
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined
|
|
2472
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
2473
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2474
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
2475
|
+
actions: {
|
|
2476
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
2477
|
+
};
|
|
2478
|
+
}, undefined>>
|
|
2403
2479
|
];
|
|
2404
2480
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
2405
2481
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -2808,7 +2884,23 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2808
2884
|
query?: string | undefined;
|
|
2809
2885
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2810
2886
|
};
|
|
2811
|
-
}, TypeAheadPluginOptions | undefined
|
|
2887
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
2888
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2889
|
+
sharedState: {
|
|
2890
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
2891
|
+
isVisible: boolean;
|
|
2892
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2893
|
+
mouseData: {
|
|
2894
|
+
isSelecting: boolean;
|
|
2895
|
+
};
|
|
2896
|
+
};
|
|
2897
|
+
actions: {
|
|
2898
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2899
|
+
};
|
|
2900
|
+
}, undefined>>,
|
|
2901
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2902
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2903
|
+
}, undefined>>
|
|
2812
2904
|
];
|
|
2813
2905
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
2814
2906
|
commands: {
|
|
@@ -3706,7 +3798,23 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3706
3798
|
query?: string | undefined;
|
|
3707
3799
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3708
3800
|
};
|
|
3709
|
-
}, TypeAheadPluginOptions | undefined
|
|
3801
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
3802
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3803
|
+
sharedState: {
|
|
3804
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
3805
|
+
isVisible: boolean;
|
|
3806
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3807
|
+
mouseData: {
|
|
3808
|
+
isSelecting: boolean;
|
|
3809
|
+
};
|
|
3810
|
+
};
|
|
3811
|
+
actions: {
|
|
3812
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3813
|
+
};
|
|
3814
|
+
}, undefined>>,
|
|
3815
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3816
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3817
|
+
}, undefined>>
|
|
3710
3818
|
];
|
|
3711
3819
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
3712
3820
|
commands: {
|
|
@@ -4140,7 +4248,23 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4140
4248
|
query?: string | undefined;
|
|
4141
4249
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4142
4250
|
};
|
|
4143
|
-
}, TypeAheadPluginOptions | undefined
|
|
4251
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
4252
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4253
|
+
sharedState: {
|
|
4254
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
4255
|
+
isVisible: boolean;
|
|
4256
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4257
|
+
mouseData: {
|
|
4258
|
+
isSelecting: boolean;
|
|
4259
|
+
};
|
|
4260
|
+
};
|
|
4261
|
+
actions: {
|
|
4262
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4263
|
+
};
|
|
4264
|
+
}, undefined>>,
|
|
4265
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4266
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
4267
|
+
}, undefined>>
|
|
4144
4268
|
];
|
|
4145
4269
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
4146
4270
|
commands: {
|
|
@@ -4908,7 +5032,23 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4908
5032
|
query?: string | undefined;
|
|
4909
5033
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4910
5034
|
};
|
|
4911
|
-
}, TypeAheadPluginOptions | undefined
|
|
5035
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
5036
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5037
|
+
sharedState: {
|
|
5038
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
5039
|
+
isVisible: boolean;
|
|
5040
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5041
|
+
mouseData: {
|
|
5042
|
+
isSelecting: boolean;
|
|
5043
|
+
};
|
|
5044
|
+
};
|
|
5045
|
+
actions: {
|
|
5046
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5047
|
+
};
|
|
5048
|
+
}, undefined>>,
|
|
5049
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5050
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5051
|
+
}, undefined>>
|
|
4912
5052
|
];
|
|
4913
5053
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
4914
5054
|
commands: {
|
|
@@ -4938,7 +5078,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4938
5078
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4939
5079
|
};
|
|
4940
5080
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4941
|
-
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined
|
|
5081
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
5082
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5083
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
5084
|
+
actions: {
|
|
5085
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
5086
|
+
};
|
|
5087
|
+
}, undefined>>
|
|
4942
5088
|
];
|
|
4943
5089
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
4944
5090
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -5632,7 +5778,23 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5632
5778
|
query?: string | undefined;
|
|
5633
5779
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5634
5780
|
};
|
|
5635
|
-
}, TypeAheadPluginOptions | undefined
|
|
5781
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
5782
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5783
|
+
sharedState: {
|
|
5784
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
5785
|
+
isVisible: boolean;
|
|
5786
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5787
|
+
mouseData: {
|
|
5788
|
+
isSelecting: boolean;
|
|
5789
|
+
};
|
|
5790
|
+
};
|
|
5791
|
+
actions: {
|
|
5792
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5793
|
+
};
|
|
5794
|
+
}, undefined>>,
|
|
5795
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5796
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5797
|
+
}, undefined>>
|
|
5636
5798
|
];
|
|
5637
5799
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
5638
5800
|
commands: {
|
|
@@ -5662,7 +5824,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5662
5824
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5663
5825
|
};
|
|
5664
5826
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5665
|
-
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined
|
|
5827
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>,
|
|
5828
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5829
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
5830
|
+
actions: {
|
|
5831
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
5832
|
+
};
|
|
5833
|
+
}, undefined>>
|
|
5666
5834
|
];
|
|
5667
5835
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
5668
5836
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -6071,7 +6239,23 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6071
6239
|
query?: string | undefined;
|
|
6072
6240
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6073
6241
|
};
|
|
6074
|
-
}, TypeAheadPluginOptions | undefined
|
|
6242
|
+
}, TypeAheadPluginOptions | undefined>,
|
|
6243
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6244
|
+
sharedState: {
|
|
6245
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
6246
|
+
isVisible: boolean;
|
|
6247
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6248
|
+
mouseData: {
|
|
6249
|
+
isSelecting: boolean;
|
|
6250
|
+
};
|
|
6251
|
+
};
|
|
6252
|
+
actions: {
|
|
6253
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6254
|
+
};
|
|
6255
|
+
}, undefined>>,
|
|
6256
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6257
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6258
|
+
}, undefined>>
|
|
6075
6259
|
];
|
|
6076
6260
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
6077
6261
|
commands: {
|