@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
|
@@ -422,7 +422,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
422
422
|
query?: string | undefined;
|
|
423
423
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
424
424
|
};
|
|
425
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
425
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
426
|
+
sharedState: {
|
|
427
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
428
|
+
isVisible: boolean;
|
|
429
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
430
|
+
mouseData: {
|
|
431
|
+
isSelecting: boolean;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
actions: {
|
|
435
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
436
|
+
};
|
|
437
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
438
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
439
|
+
}, undefined>>];
|
|
426
440
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
427
441
|
commands: {
|
|
428
442
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -448,7 +462,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
448
462
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
449
463
|
};
|
|
450
464
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
451
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
465
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
466
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
467
|
+
actions: {
|
|
468
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
469
|
+
};
|
|
470
|
+
}, undefined>>];
|
|
452
471
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
453
472
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
454
473
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -785,7 +804,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
785
804
|
query?: string | undefined;
|
|
786
805
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
787
806
|
};
|
|
788
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
807
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
808
|
+
sharedState: {
|
|
809
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
810
|
+
isVisible: boolean;
|
|
811
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
812
|
+
mouseData: {
|
|
813
|
+
isSelecting: boolean;
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
actions: {
|
|
817
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
818
|
+
};
|
|
819
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
820
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
821
|
+
}, undefined>>];
|
|
789
822
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
790
823
|
commands: {
|
|
791
824
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -1541,7 +1574,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1541
1574
|
sharedState: FeatureFlags;
|
|
1542
1575
|
}, FeatureFlags>>];
|
|
1543
1576
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1544
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1577
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1578
|
+
actions: {
|
|
1579
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1580
|
+
};
|
|
1581
|
+
sharedState: {
|
|
1582
|
+
annotations: Record<string, boolean>;
|
|
1583
|
+
isVisible: boolean;
|
|
1584
|
+
bookmark: boolean;
|
|
1585
|
+
mouseData: {
|
|
1586
|
+
isSelecting: boolean;
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1590
|
+
sharedState: {
|
|
1591
|
+
mode: "edit" | "view";
|
|
1592
|
+
};
|
|
1593
|
+
}, undefined>>];
|
|
1545
1594
|
pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
|
|
1546
1595
|
actions: {
|
|
1547
1596
|
commitStatusPicker: (closingPayload?: import("@atlaskit/editor-plugins/status").ClosingPayload | undefined) => (editorView: import("prosemirror-view").EditorView) => void;
|
|
@@ -1869,7 +1918,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1869
1918
|
query?: string | undefined;
|
|
1870
1919
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1871
1920
|
};
|
|
1872
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
1921
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1922
|
+
sharedState: {
|
|
1923
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
1924
|
+
isVisible: boolean;
|
|
1925
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
1926
|
+
mouseData: {
|
|
1927
|
+
isSelecting: boolean;
|
|
1928
|
+
};
|
|
1929
|
+
};
|
|
1930
|
+
actions: {
|
|
1931
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1932
|
+
};
|
|
1933
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1934
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
1935
|
+
}, undefined>>];
|
|
1873
1936
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
1874
1937
|
commands: {
|
|
1875
1938
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -1895,7 +1958,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1895
1958
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1896
1959
|
};
|
|
1897
1960
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1898
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
1961
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1962
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
1963
|
+
actions: {
|
|
1964
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1965
|
+
};
|
|
1966
|
+
}, undefined>>];
|
|
1899
1967
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
1900
1968
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1901
1969
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
|
|
@@ -1906,7 +1974,14 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1906
1974
|
hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1907
1975
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
1908
1976
|
};
|
|
1909
|
-
}, undefined>, import("@atlaskit/editor-common/types").
|
|
1977
|
+
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1978
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
1979
|
+
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
1980
|
+
commands: {
|
|
1981
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1982
|
+
};
|
|
1983
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1984
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1910
1985
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
1911
1986
|
sharedState: {
|
|
1912
1987
|
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
@@ -2392,7 +2467,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2392
2467
|
query?: string | undefined;
|
|
2393
2468
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2394
2469
|
};
|
|
2395
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2470
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2471
|
+
sharedState: {
|
|
2472
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2473
|
+
isVisible: boolean;
|
|
2474
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2475
|
+
mouseData: {
|
|
2476
|
+
isSelecting: boolean;
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
actions: {
|
|
2480
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2481
|
+
};
|
|
2482
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2483
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2484
|
+
}, undefined>>];
|
|
2396
2485
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2397
2486
|
commands: {
|
|
2398
2487
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -2782,7 +2871,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2782
2871
|
query?: string | undefined;
|
|
2783
2872
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2784
2873
|
};
|
|
2785
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2874
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2875
|
+
sharedState: {
|
|
2876
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
2877
|
+
isVisible: boolean;
|
|
2878
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2879
|
+
mouseData: {
|
|
2880
|
+
isSelecting: boolean;
|
|
2881
|
+
};
|
|
2882
|
+
};
|
|
2883
|
+
actions: {
|
|
2884
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2885
|
+
};
|
|
2886
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2887
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2888
|
+
}, undefined>>];
|
|
2786
2889
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2787
2890
|
commands: {
|
|
2788
2891
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -3288,7 +3391,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3288
3391
|
query?: string | undefined;
|
|
3289
3392
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3290
3393
|
};
|
|
3291
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3394
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3395
|
+
sharedState: {
|
|
3396
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
3397
|
+
isVisible: boolean;
|
|
3398
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3399
|
+
mouseData: {
|
|
3400
|
+
isSelecting: boolean;
|
|
3401
|
+
};
|
|
3402
|
+
};
|
|
3403
|
+
actions: {
|
|
3404
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3405
|
+
};
|
|
3406
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3407
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3408
|
+
}, undefined>>];
|
|
3292
3409
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
3293
3410
|
commands: {
|
|
3294
3411
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -3728,7 +3845,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3728
3845
|
query?: string | undefined;
|
|
3729
3846
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3730
3847
|
};
|
|
3731
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3848
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3849
|
+
sharedState: {
|
|
3850
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
3851
|
+
isVisible: boolean;
|
|
3852
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3853
|
+
mouseData: {
|
|
3854
|
+
isSelecting: boolean;
|
|
3855
|
+
};
|
|
3856
|
+
};
|
|
3857
|
+
actions: {
|
|
3858
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3859
|
+
};
|
|
3860
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3861
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3862
|
+
}, undefined>>];
|
|
3732
3863
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
3733
3864
|
commands: {
|
|
3734
3865
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -4214,7 +4345,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4214
4345
|
query?: string | undefined;
|
|
4215
4346
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4216
4347
|
};
|
|
4217
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
4348
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4349
|
+
sharedState: {
|
|
4350
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
4351
|
+
isVisible: boolean;
|
|
4352
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4353
|
+
mouseData: {
|
|
4354
|
+
isSelecting: boolean;
|
|
4355
|
+
};
|
|
4356
|
+
};
|
|
4357
|
+
actions: {
|
|
4358
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4359
|
+
};
|
|
4360
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4361
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
4362
|
+
}, undefined>>];
|
|
4218
4363
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
4219
4364
|
commands: {
|
|
4220
4365
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -5130,7 +5275,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5130
5275
|
query?: string | undefined;
|
|
5131
5276
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5132
5277
|
};
|
|
5133
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
5278
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5279
|
+
sharedState: {
|
|
5280
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5281
|
+
isVisible: boolean;
|
|
5282
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5283
|
+
mouseData: {
|
|
5284
|
+
isSelecting: boolean;
|
|
5285
|
+
};
|
|
5286
|
+
};
|
|
5287
|
+
actions: {
|
|
5288
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5289
|
+
};
|
|
5290
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5291
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5292
|
+
}, undefined>>];
|
|
5134
5293
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5135
5294
|
commands: {
|
|
5136
5295
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -5488,7 +5647,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5488
5647
|
query?: string | undefined;
|
|
5489
5648
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5490
5649
|
};
|
|
5491
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
5650
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5651
|
+
sharedState: {
|
|
5652
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
5653
|
+
isVisible: boolean;
|
|
5654
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5655
|
+
mouseData: {
|
|
5656
|
+
isSelecting: boolean;
|
|
5657
|
+
};
|
|
5658
|
+
};
|
|
5659
|
+
actions: {
|
|
5660
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5661
|
+
};
|
|
5662
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5663
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5664
|
+
}, undefined>>];
|
|
5492
5665
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
5493
5666
|
commands: {
|
|
5494
5667
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -6126,7 +6299,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6126
6299
|
query?: string | undefined;
|
|
6127
6300
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6128
6301
|
};
|
|
6129
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
6302
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6303
|
+
sharedState: {
|
|
6304
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
6305
|
+
isVisible: boolean;
|
|
6306
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6307
|
+
mouseData: {
|
|
6308
|
+
isSelecting: boolean;
|
|
6309
|
+
};
|
|
6310
|
+
};
|
|
6311
|
+
actions: {
|
|
6312
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6313
|
+
};
|
|
6314
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6315
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6316
|
+
}, undefined>>];
|
|
6130
6317
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
6131
6318
|
commands: {
|
|
6132
6319
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -6152,7 +6339,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6152
6339
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6153
6340
|
};
|
|
6154
6341
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6155
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
6342
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6343
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
6344
|
+
actions: {
|
|
6345
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
6346
|
+
};
|
|
6347
|
+
}, undefined>>];
|
|
6156
6348
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
6157
6349
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
6158
6350
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -6728,7 +6920,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6728
6920
|
query?: string | undefined;
|
|
6729
6921
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6730
6922
|
};
|
|
6731
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
6923
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6924
|
+
sharedState: {
|
|
6925
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
6926
|
+
isVisible: boolean;
|
|
6927
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6928
|
+
mouseData: {
|
|
6929
|
+
isSelecting: boolean;
|
|
6930
|
+
};
|
|
6931
|
+
};
|
|
6932
|
+
actions: {
|
|
6933
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6934
|
+
};
|
|
6935
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6936
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6937
|
+
}, undefined>>];
|
|
6732
6938
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
6733
6939
|
commands: {
|
|
6734
6940
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
@@ -6754,7 +6960,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6754
6960
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6755
6961
|
};
|
|
6756
6962
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6757
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
6963
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6964
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
|
|
6965
|
+
actions: {
|
|
6966
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
6967
|
+
};
|
|
6968
|
+
}, undefined>>];
|
|
6758
6969
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
6759
6970
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
6760
6971
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -7091,7 +7302,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7091
7302
|
query?: string | undefined;
|
|
7092
7303
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
7093
7304
|
};
|
|
7094
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
7305
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
7306
|
+
sharedState: {
|
|
7307
|
+
annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
|
|
7308
|
+
isVisible: boolean;
|
|
7309
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
7310
|
+
mouseData: {
|
|
7311
|
+
isSelecting: boolean;
|
|
7312
|
+
};
|
|
7313
|
+
};
|
|
7314
|
+
actions: {
|
|
7315
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
7316
|
+
};
|
|
7317
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7318
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
7319
|
+
}, undefined>>];
|
|
7095
7320
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
7096
7321
|
commands: {
|
|
7097
7322
|
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|