@atlaskit/editor-core 192.3.22 → 192.4.5
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 +19 -0
- package/dist/cjs/presets/universal.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +320 -5
- package/dist/types/presets/default.d.ts +256 -4
- package/dist/types/presets/universal.d.ts +320 -5
- package/dist/types/presets/useUniversalPreset.d.ts +320 -5
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +385 -5
- package/dist/types-ts4.5/presets/default.d.ts +308 -4
- package/dist/types-ts4.5/presets/universal.d.ts +385 -5
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +385 -5
- package/package.json +10 -7
|
@@ -532,7 +532,83 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
532
532
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
533
533
|
};
|
|
534
534
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
535
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined
|
|
535
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
536
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
537
|
+
pluginConfiguration: AnnotationProviders | undefined;
|
|
538
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
539
|
+
dependencies: [
|
|
540
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
541
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
542
|
+
sharedState: {
|
|
543
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
544
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
545
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
546
|
+
};
|
|
547
|
+
dependencies: [
|
|
548
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
549
|
+
pluginConfiguration: FeatureFlags;
|
|
550
|
+
sharedState: FeatureFlags;
|
|
551
|
+
}, FeatureFlags>>
|
|
552
|
+
];
|
|
553
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
554
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
555
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
556
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
557
|
+
dependencies: [
|
|
558
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
559
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions;
|
|
560
|
+
dependencies: [
|
|
561
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
562
|
+
pluginConfiguration: FeatureFlags;
|
|
563
|
+
sharedState: FeatureFlags;
|
|
564
|
+
}, FeatureFlags>>,
|
|
565
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
566
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
567
|
+
sharedState: {
|
|
568
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
569
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
570
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
571
|
+
};
|
|
572
|
+
dependencies: [
|
|
573
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
574
|
+
pluginConfiguration: FeatureFlags;
|
|
575
|
+
sharedState: FeatureFlags;
|
|
576
|
+
}, FeatureFlags>>
|
|
577
|
+
];
|
|
578
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
579
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
580
|
+
];
|
|
581
|
+
sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
|
|
582
|
+
actions: {
|
|
583
|
+
getAvatarColor: (str: string) => {
|
|
584
|
+
index: number;
|
|
585
|
+
color: import("@atlaskit/editor-common/collab").Color;
|
|
586
|
+
};
|
|
587
|
+
addInlineCommentMark: (props: {
|
|
588
|
+
from: number;
|
|
589
|
+
to: number;
|
|
590
|
+
mark: import("prosemirror-model").Mark;
|
|
591
|
+
}) => boolean;
|
|
592
|
+
};
|
|
593
|
+
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
594
|
+
];
|
|
595
|
+
pluginConfiguration?: {
|
|
596
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
commands: {
|
|
599
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
600
|
+
};
|
|
601
|
+
actions: {
|
|
602
|
+
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
603
|
+
};
|
|
604
|
+
}, {
|
|
605
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
606
|
+
} | undefined>>
|
|
607
|
+
];
|
|
608
|
+
actions: {
|
|
609
|
+
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
610
|
+
};
|
|
611
|
+
}, AnnotationProviders | undefined>
|
|
536
612
|
];
|
|
537
613
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
538
614
|
actions: {
|
|
@@ -1571,7 +1647,83 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1571
1647
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1572
1648
|
};
|
|
1573
1649
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1574
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined
|
|
1650
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
1651
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1652
|
+
pluginConfiguration: AnnotationProviders | undefined;
|
|
1653
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1654
|
+
dependencies: [
|
|
1655
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1656
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1657
|
+
sharedState: {
|
|
1658
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1659
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1660
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1661
|
+
};
|
|
1662
|
+
dependencies: [
|
|
1663
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1664
|
+
pluginConfiguration: FeatureFlags;
|
|
1665
|
+
sharedState: FeatureFlags;
|
|
1666
|
+
}, FeatureFlags>>
|
|
1667
|
+
];
|
|
1668
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1669
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1670
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1671
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1672
|
+
dependencies: [
|
|
1673
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
1674
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions;
|
|
1675
|
+
dependencies: [
|
|
1676
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1677
|
+
pluginConfiguration: FeatureFlags;
|
|
1678
|
+
sharedState: FeatureFlags;
|
|
1679
|
+
}, FeatureFlags>>,
|
|
1680
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1681
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1682
|
+
sharedState: {
|
|
1683
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1684
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1685
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
1686
|
+
};
|
|
1687
|
+
dependencies: [
|
|
1688
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1689
|
+
pluginConfiguration: FeatureFlags;
|
|
1690
|
+
sharedState: FeatureFlags;
|
|
1691
|
+
}, FeatureFlags>>
|
|
1692
|
+
];
|
|
1693
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1694
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1695
|
+
];
|
|
1696
|
+
sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
|
|
1697
|
+
actions: {
|
|
1698
|
+
getAvatarColor: (str: string) => {
|
|
1699
|
+
index: number;
|
|
1700
|
+
color: import("@atlaskit/editor-common/collab").Color;
|
|
1701
|
+
};
|
|
1702
|
+
addInlineCommentMark: (props: {
|
|
1703
|
+
from: number;
|
|
1704
|
+
to: number;
|
|
1705
|
+
mark: import("prosemirror-model").Mark;
|
|
1706
|
+
}) => boolean;
|
|
1707
|
+
};
|
|
1708
|
+
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
1709
|
+
];
|
|
1710
|
+
pluginConfiguration?: {
|
|
1711
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1712
|
+
} | undefined;
|
|
1713
|
+
commands: {
|
|
1714
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1715
|
+
};
|
|
1716
|
+
actions: {
|
|
1717
|
+
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1718
|
+
};
|
|
1719
|
+
}, {
|
|
1720
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1721
|
+
} | undefined>>
|
|
1722
|
+
];
|
|
1723
|
+
actions: {
|
|
1724
|
+
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1725
|
+
};
|
|
1726
|
+
}, AnnotationProviders | undefined>
|
|
1575
1727
|
];
|
|
1576
1728
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1577
1729
|
actions: {
|
|
@@ -2224,7 +2376,83 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2224
2376
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2225
2377
|
};
|
|
2226
2378
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2227
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined
|
|
2379
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2380
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2381
|
+
pluginConfiguration: AnnotationProviders | undefined;
|
|
2382
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2383
|
+
dependencies: [
|
|
2384
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2385
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2386
|
+
sharedState: {
|
|
2387
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2388
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2389
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2390
|
+
};
|
|
2391
|
+
dependencies: [
|
|
2392
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2393
|
+
pluginConfiguration: FeatureFlags;
|
|
2394
|
+
sharedState: FeatureFlags;
|
|
2395
|
+
}, FeatureFlags>>
|
|
2396
|
+
];
|
|
2397
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2398
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
2399
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2400
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2401
|
+
dependencies: [
|
|
2402
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
2403
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions;
|
|
2404
|
+
dependencies: [
|
|
2405
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2406
|
+
pluginConfiguration: FeatureFlags;
|
|
2407
|
+
sharedState: FeatureFlags;
|
|
2408
|
+
}, FeatureFlags>>,
|
|
2409
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2410
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
2411
|
+
sharedState: {
|
|
2412
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2413
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2414
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
2415
|
+
};
|
|
2416
|
+
dependencies: [
|
|
2417
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2418
|
+
pluginConfiguration: FeatureFlags;
|
|
2419
|
+
sharedState: FeatureFlags;
|
|
2420
|
+
}, FeatureFlags>>
|
|
2421
|
+
];
|
|
2422
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2423
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
2424
|
+
];
|
|
2425
|
+
sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
|
|
2426
|
+
actions: {
|
|
2427
|
+
getAvatarColor: (str: string) => {
|
|
2428
|
+
index: number;
|
|
2429
|
+
color: import("@atlaskit/editor-common/collab").Color;
|
|
2430
|
+
};
|
|
2431
|
+
addInlineCommentMark: (props: {
|
|
2432
|
+
from: number;
|
|
2433
|
+
to: number;
|
|
2434
|
+
mark: import("prosemirror-model").Mark;
|
|
2435
|
+
}) => boolean;
|
|
2436
|
+
};
|
|
2437
|
+
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
2438
|
+
];
|
|
2439
|
+
pluginConfiguration?: {
|
|
2440
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2441
|
+
} | undefined;
|
|
2442
|
+
commands: {
|
|
2443
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2444
|
+
};
|
|
2445
|
+
actions: {
|
|
2446
|
+
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2447
|
+
};
|
|
2448
|
+
}, {
|
|
2449
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2450
|
+
} | undefined>>
|
|
2451
|
+
];
|
|
2452
|
+
actions: {
|
|
2453
|
+
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2454
|
+
};
|
|
2455
|
+
}, AnnotationProviders | undefined>
|
|
2228
2456
|
];
|
|
2229
2457
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2230
2458
|
actions: {
|
|
@@ -3263,7 +3491,83 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3263
3491
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3264
3492
|
};
|
|
3265
3493
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3266
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined
|
|
3494
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3495
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3496
|
+
pluginConfiguration: AnnotationProviders | undefined;
|
|
3497
|
+
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3498
|
+
dependencies: [
|
|
3499
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3500
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
3501
|
+
sharedState: {
|
|
3502
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3503
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3504
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
3505
|
+
};
|
|
3506
|
+
dependencies: [
|
|
3507
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3508
|
+
pluginConfiguration: FeatureFlags;
|
|
3509
|
+
sharedState: FeatureFlags;
|
|
3510
|
+
}, FeatureFlags>>
|
|
3511
|
+
];
|
|
3512
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3513
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
3514
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3515
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3516
|
+
dependencies: [
|
|
3517
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
3518
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions;
|
|
3519
|
+
dependencies: [
|
|
3520
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3521
|
+
pluginConfiguration: FeatureFlags;
|
|
3522
|
+
sharedState: FeatureFlags;
|
|
3523
|
+
}, FeatureFlags>>,
|
|
3524
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3525
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
3526
|
+
sharedState: {
|
|
3527
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3528
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3529
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
3530
|
+
};
|
|
3531
|
+
dependencies: [
|
|
3532
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3533
|
+
pluginConfiguration: FeatureFlags;
|
|
3534
|
+
sharedState: FeatureFlags;
|
|
3535
|
+
}, FeatureFlags>>
|
|
3536
|
+
];
|
|
3537
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3538
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
3539
|
+
];
|
|
3540
|
+
sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
|
|
3541
|
+
actions: {
|
|
3542
|
+
getAvatarColor: (str: string) => {
|
|
3543
|
+
index: number;
|
|
3544
|
+
color: import("@atlaskit/editor-common/collab").Color;
|
|
3545
|
+
};
|
|
3546
|
+
addInlineCommentMark: (props: {
|
|
3547
|
+
from: number;
|
|
3548
|
+
to: number;
|
|
3549
|
+
mark: import("prosemirror-model").Mark;
|
|
3550
|
+
}) => boolean;
|
|
3551
|
+
};
|
|
3552
|
+
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
3553
|
+
];
|
|
3554
|
+
pluginConfiguration?: {
|
|
3555
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3556
|
+
} | undefined;
|
|
3557
|
+
commands: {
|
|
3558
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3559
|
+
};
|
|
3560
|
+
actions: {
|
|
3561
|
+
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3562
|
+
};
|
|
3563
|
+
}, {
|
|
3564
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3565
|
+
} | undefined>>
|
|
3566
|
+
];
|
|
3567
|
+
actions: {
|
|
3568
|
+
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3569
|
+
};
|
|
3570
|
+
}, AnnotationProviders | undefined>
|
|
3267
3571
|
];
|
|
3268
3572
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3269
3573
|
actions: {
|