@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
|
@@ -370,7 +370,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
370
370
|
query?: string | undefined;
|
|
371
371
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
372
372
|
};
|
|
373
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
373
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
374
|
+
sharedState: {
|
|
375
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
376
|
+
isVisible: boolean;
|
|
377
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
378
|
+
mouseData: {
|
|
379
|
+
isSelecting: boolean;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
actions: {
|
|
383
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
384
|
+
};
|
|
385
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
386
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
387
|
+
}, undefined>>];
|
|
374
388
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
375
389
|
commands: {
|
|
376
390
|
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;
|
|
@@ -396,7 +410,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
396
410
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
397
411
|
};
|
|
398
412
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
399
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
413
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
414
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
415
|
+
actions: {
|
|
416
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
417
|
+
};
|
|
418
|
+
}, undefined>>];
|
|
400
419
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
401
420
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
402
421
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -733,7 +752,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
733
752
|
query?: string | undefined;
|
|
734
753
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
735
754
|
};
|
|
736
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
755
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
756
|
+
sharedState: {
|
|
757
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
758
|
+
isVisible: boolean;
|
|
759
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
760
|
+
mouseData: {
|
|
761
|
+
isSelecting: boolean;
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
actions: {
|
|
765
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
766
|
+
};
|
|
767
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
768
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
769
|
+
}, undefined>>];
|
|
737
770
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
738
771
|
commands: {
|
|
739
772
|
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;
|
|
@@ -1489,7 +1522,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1489
1522
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1490
1523
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1491
1524
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1492
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1525
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1526
|
+
actions: {
|
|
1527
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1528
|
+
};
|
|
1529
|
+
sharedState: {
|
|
1530
|
+
annotations: Record<string, boolean>;
|
|
1531
|
+
isVisible: boolean;
|
|
1532
|
+
bookmark: boolean;
|
|
1533
|
+
mouseData: {
|
|
1534
|
+
isSelecting: boolean;
|
|
1535
|
+
};
|
|
1536
|
+
};
|
|
1537
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1538
|
+
sharedState: {
|
|
1539
|
+
mode: "edit" | "view";
|
|
1540
|
+
};
|
|
1541
|
+
}, undefined>>];
|
|
1493
1542
|
pluginConfiguration: import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined;
|
|
1494
1543
|
actions: {
|
|
1495
1544
|
commitStatusPicker: (closingPayload?: import("@atlaskit/editor-plugin-status").ClosingPayload | undefined) => (editorView: import("prosemirror-view").EditorView) => void;
|
|
@@ -1817,7 +1866,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1817
1866
|
query?: string | undefined;
|
|
1818
1867
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1819
1868
|
};
|
|
1820
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
1869
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1870
|
+
sharedState: {
|
|
1871
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
1872
|
+
isVisible: boolean;
|
|
1873
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
1874
|
+
mouseData: {
|
|
1875
|
+
isSelecting: boolean;
|
|
1876
|
+
};
|
|
1877
|
+
};
|
|
1878
|
+
actions: {
|
|
1879
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
1880
|
+
};
|
|
1881
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1882
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
1883
|
+
}, undefined>>];
|
|
1821
1884
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
1822
1885
|
commands: {
|
|
1823
1886
|
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;
|
|
@@ -1843,7 +1906,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1843
1906
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1844
1907
|
};
|
|
1845
1908
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1846
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
1909
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1910
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
1911
|
+
actions: {
|
|
1912
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
1913
|
+
};
|
|
1914
|
+
}, undefined>>];
|
|
1847
1915
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1848
1916
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1849
1917
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
|
|
@@ -2340,7 +2408,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2340
2408
|
query?: string | undefined;
|
|
2341
2409
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2342
2410
|
};
|
|
2343
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2411
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2412
|
+
sharedState: {
|
|
2413
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
2414
|
+
isVisible: boolean;
|
|
2415
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2416
|
+
mouseData: {
|
|
2417
|
+
isSelecting: boolean;
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
actions: {
|
|
2421
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2422
|
+
};
|
|
2423
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2424
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2425
|
+
}, undefined>>];
|
|
2344
2426
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
2345
2427
|
commands: {
|
|
2346
2428
|
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;
|
|
@@ -2730,7 +2812,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2730
2812
|
query?: string | undefined;
|
|
2731
2813
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2732
2814
|
};
|
|
2733
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2815
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2816
|
+
sharedState: {
|
|
2817
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
2818
|
+
isVisible: boolean;
|
|
2819
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
2820
|
+
mouseData: {
|
|
2821
|
+
isSelecting: boolean;
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
2824
|
+
actions: {
|
|
2825
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
2826
|
+
};
|
|
2827
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2828
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
2829
|
+
}, undefined>>];
|
|
2734
2830
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
2735
2831
|
commands: {
|
|
2736
2832
|
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;
|
|
@@ -3236,7 +3332,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3236
3332
|
query?: string | undefined;
|
|
3237
3333
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3238
3334
|
};
|
|
3239
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3335
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3336
|
+
sharedState: {
|
|
3337
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
3338
|
+
isVisible: boolean;
|
|
3339
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3340
|
+
mouseData: {
|
|
3341
|
+
isSelecting: boolean;
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
actions: {
|
|
3345
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3346
|
+
};
|
|
3347
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3348
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3349
|
+
}, undefined>>];
|
|
3240
3350
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
3241
3351
|
commands: {
|
|
3242
3352
|
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;
|
|
@@ -3676,7 +3786,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3676
3786
|
query?: string | undefined;
|
|
3677
3787
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3678
3788
|
};
|
|
3679
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3789
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3790
|
+
sharedState: {
|
|
3791
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
3792
|
+
isVisible: boolean;
|
|
3793
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
3794
|
+
mouseData: {
|
|
3795
|
+
isSelecting: boolean;
|
|
3796
|
+
};
|
|
3797
|
+
};
|
|
3798
|
+
actions: {
|
|
3799
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
3800
|
+
};
|
|
3801
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3802
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
3803
|
+
}, undefined>>];
|
|
3680
3804
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
3681
3805
|
commands: {
|
|
3682
3806
|
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;
|
|
@@ -4162,7 +4286,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4162
4286
|
query?: string | undefined;
|
|
4163
4287
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4164
4288
|
};
|
|
4165
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
4289
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4290
|
+
sharedState: {
|
|
4291
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
4292
|
+
isVisible: boolean;
|
|
4293
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
4294
|
+
mouseData: {
|
|
4295
|
+
isSelecting: boolean;
|
|
4296
|
+
};
|
|
4297
|
+
};
|
|
4298
|
+
actions: {
|
|
4299
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
4300
|
+
};
|
|
4301
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4302
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
4303
|
+
}, undefined>>];
|
|
4166
4304
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
4167
4305
|
commands: {
|
|
4168
4306
|
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;
|
|
@@ -5078,7 +5216,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5078
5216
|
query?: string | undefined;
|
|
5079
5217
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5080
5218
|
};
|
|
5081
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
5219
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5220
|
+
sharedState: {
|
|
5221
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
5222
|
+
isVisible: boolean;
|
|
5223
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5224
|
+
mouseData: {
|
|
5225
|
+
isSelecting: boolean;
|
|
5226
|
+
};
|
|
5227
|
+
};
|
|
5228
|
+
actions: {
|
|
5229
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5230
|
+
};
|
|
5231
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5232
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5233
|
+
}, undefined>>];
|
|
5082
5234
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
5083
5235
|
commands: {
|
|
5084
5236
|
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;
|
|
@@ -5436,7 +5588,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5436
5588
|
query?: string | undefined;
|
|
5437
5589
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5438
5590
|
};
|
|
5439
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
5591
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5592
|
+
sharedState: {
|
|
5593
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
5594
|
+
isVisible: boolean;
|
|
5595
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
5596
|
+
mouseData: {
|
|
5597
|
+
isSelecting: boolean;
|
|
5598
|
+
};
|
|
5599
|
+
};
|
|
5600
|
+
actions: {
|
|
5601
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
5602
|
+
};
|
|
5603
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5604
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
5605
|
+
}, undefined>>];
|
|
5440
5606
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
5441
5607
|
commands: {
|
|
5442
5608
|
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;
|
|
@@ -6074,7 +6240,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6074
6240
|
query?: string | undefined;
|
|
6075
6241
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6076
6242
|
};
|
|
6077
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
6243
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, 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>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6256
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6257
|
+
}, undefined>>];
|
|
6078
6258
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
6079
6259
|
commands: {
|
|
6080
6260
|
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;
|
|
@@ -6100,7 +6280,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6100
6280
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6101
6281
|
};
|
|
6102
6282
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6103
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
6283
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6284
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
6285
|
+
actions: {
|
|
6286
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
6287
|
+
};
|
|
6288
|
+
}, undefined>>];
|
|
6104
6289
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
6105
6290
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
6106
6291
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -6676,7 +6861,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6676
6861
|
query?: string | undefined;
|
|
6677
6862
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6678
6863
|
};
|
|
6679
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
6864
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6865
|
+
sharedState: {
|
|
6866
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
6867
|
+
isVisible: boolean;
|
|
6868
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
6869
|
+
mouseData: {
|
|
6870
|
+
isSelecting: boolean;
|
|
6871
|
+
};
|
|
6872
|
+
};
|
|
6873
|
+
actions: {
|
|
6874
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6875
|
+
};
|
|
6876
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6877
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
6878
|
+
}, undefined>>];
|
|
6680
6879
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
6681
6880
|
commands: {
|
|
6682
6881
|
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;
|
|
@@ -6702,7 +6901,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6702
6901
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6703
6902
|
};
|
|
6704
6903
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6705
|
-
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined
|
|
6904
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6905
|
+
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
|
|
6906
|
+
actions: {
|
|
6907
|
+
setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
6908
|
+
};
|
|
6909
|
+
}, undefined>>];
|
|
6706
6910
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
6707
6911
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
6708
6912
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -7039,7 +7243,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7039
7243
|
query?: string | undefined;
|
|
7040
7244
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
7041
7245
|
};
|
|
7042
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
7246
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
7247
|
+
sharedState: {
|
|
7248
|
+
annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
|
|
7249
|
+
isVisible: boolean;
|
|
7250
|
+
bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
|
|
7251
|
+
mouseData: {
|
|
7252
|
+
isSelecting: boolean;
|
|
7253
|
+
};
|
|
7254
|
+
};
|
|
7255
|
+
actions: {
|
|
7256
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
7257
|
+
};
|
|
7258
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7259
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
|
|
7260
|
+
}, undefined>>];
|
|
7043
7261
|
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
7044
7262
|
commands: {
|
|
7045
7263
|
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;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EditorProps } from '../types/editor-props';
|
|
3
|
+
export declare const useTrackDangerouslyAppendPlugins: (passedProps: EditorProps, handleAnalyticsEvent: FireAnalyticsCallback) => void;
|