@atlaskit/editor-core 203.2.7 → 203.2.9
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 +17 -0
- package/dist/cjs/create-editor/ReactEditorViewNext.js +18 -8
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorViewNext.js +18 -8
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorViewNext.js +18 -8
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +132 -11
- package/dist/types/presets/default.d.ts +72 -6
- package/dist/types/presets/universal.d.ts +132 -11
- package/dist/types/presets/useUniversalPreset.d.ts +132 -11
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +143 -0
- package/dist/types-ts4.5/presets/default.d.ts +78 -0
- package/dist/types-ts4.5/presets/universal.d.ts +143 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +143 -0
- package/package.json +9 -5
|
@@ -1137,6 +1137,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1137
1137
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1138
1138
|
};
|
|
1139
1139
|
}, undefined>>,
|
|
1140
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1141
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1142
|
+
dependencies: [
|
|
1143
|
+
];
|
|
1144
|
+
pluginConfiguration?: {
|
|
1145
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1146
|
+
} | undefined;
|
|
1147
|
+
commands: {
|
|
1148
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1149
|
+
};
|
|
1150
|
+
}, {
|
|
1151
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1152
|
+
} | undefined>>,
|
|
1140
1153
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1141
1154
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1142
1155
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -1348,6 +1361,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1348
1361
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1349
1362
|
};
|
|
1350
1363
|
}, undefined>>,
|
|
1364
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1365
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1366
|
+
dependencies: [
|
|
1367
|
+
];
|
|
1368
|
+
pluginConfiguration?: {
|
|
1369
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1370
|
+
} | undefined;
|
|
1371
|
+
commands: {
|
|
1372
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1373
|
+
};
|
|
1374
|
+
}, {
|
|
1375
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1376
|
+
} | undefined>>,
|
|
1351
1377
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1352
1378
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1353
1379
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2622,6 +2648,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2622
2648
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2623
2649
|
};
|
|
2624
2650
|
}, undefined>>,
|
|
2651
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2652
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2653
|
+
dependencies: [
|
|
2654
|
+
];
|
|
2655
|
+
pluginConfiguration?: {
|
|
2656
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2657
|
+
} | undefined;
|
|
2658
|
+
commands: {
|
|
2659
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2660
|
+
};
|
|
2661
|
+
}, {
|
|
2662
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2663
|
+
} | undefined>>,
|
|
2625
2664
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2626
2665
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2627
2666
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2777,6 +2816,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2777
2816
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2778
2817
|
};
|
|
2779
2818
|
}, undefined>>,
|
|
2819
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2820
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2821
|
+
dependencies: [
|
|
2822
|
+
];
|
|
2823
|
+
pluginConfiguration?: {
|
|
2824
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2825
|
+
} | undefined;
|
|
2826
|
+
commands: {
|
|
2827
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2828
|
+
};
|
|
2829
|
+
}, {
|
|
2830
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2831
|
+
} | undefined>>,
|
|
2780
2832
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2781
2833
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2782
2834
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -3614,6 +3666,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3614
3666
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3615
3667
|
};
|
|
3616
3668
|
}, undefined>>,
|
|
3669
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3670
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3671
|
+
dependencies: [
|
|
3672
|
+
];
|
|
3673
|
+
pluginConfiguration?: {
|
|
3674
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3675
|
+
} | undefined;
|
|
3676
|
+
commands: {
|
|
3677
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3678
|
+
};
|
|
3679
|
+
}, {
|
|
3680
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3681
|
+
} | undefined>>,
|
|
3617
3682
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3618
3683
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3619
3684
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -4784,6 +4849,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4784
4849
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4785
4850
|
};
|
|
4786
4851
|
}, undefined>>,
|
|
4852
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4853
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4854
|
+
dependencies: [
|
|
4855
|
+
];
|
|
4856
|
+
pluginConfiguration?: {
|
|
4857
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
commands: {
|
|
4860
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4861
|
+
};
|
|
4862
|
+
}, {
|
|
4863
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4864
|
+
} | undefined>>,
|
|
4787
4865
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4788
4866
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4789
4867
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -5386,6 +5464,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5386
5464
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5387
5465
|
};
|
|
5388
5466
|
}, undefined>>,
|
|
5467
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5468
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5469
|
+
dependencies: [
|
|
5470
|
+
];
|
|
5471
|
+
pluginConfiguration?: {
|
|
5472
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5473
|
+
} | undefined;
|
|
5474
|
+
commands: {
|
|
5475
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5476
|
+
};
|
|
5477
|
+
}, {
|
|
5478
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5479
|
+
} | undefined>>,
|
|
5389
5480
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5390
5481
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5391
5482
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -5536,6 +5627,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5536
5627
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5537
5628
|
};
|
|
5538
5629
|
}, undefined>>,
|
|
5630
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5631
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5632
|
+
dependencies: [
|
|
5633
|
+
];
|
|
5634
|
+
pluginConfiguration?: {
|
|
5635
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5636
|
+
} | undefined;
|
|
5637
|
+
commands: {
|
|
5638
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5639
|
+
};
|
|
5640
|
+
}, {
|
|
5641
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5642
|
+
} | undefined>>,
|
|
5539
5643
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5540
5644
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5541
5645
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -6965,6 +7069,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6965
7069
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6966
7070
|
};
|
|
6967
7071
|
}, undefined>>,
|
|
7072
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7073
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
7074
|
+
dependencies: [
|
|
7075
|
+
];
|
|
7076
|
+
pluginConfiguration?: {
|
|
7077
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7078
|
+
} | undefined;
|
|
7079
|
+
commands: {
|
|
7080
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7081
|
+
};
|
|
7082
|
+
}, {
|
|
7083
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7084
|
+
} | undefined>>,
|
|
6968
7085
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6969
7086
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
6970
7087
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -8956,6 +9073,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
8956
9073
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
8957
9074
|
};
|
|
8958
9075
|
}, undefined>>,
|
|
9076
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9077
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9078
|
+
dependencies: [
|
|
9079
|
+
];
|
|
9080
|
+
pluginConfiguration?: {
|
|
9081
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9082
|
+
} | undefined;
|
|
9083
|
+
commands: {
|
|
9084
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9085
|
+
};
|
|
9086
|
+
}, {
|
|
9087
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9088
|
+
} | undefined>>,
|
|
8959
9089
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
8960
9090
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
8961
9091
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -9167,6 +9297,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
9167
9297
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
9168
9298
|
};
|
|
9169
9299
|
}, undefined>>,
|
|
9300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9301
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9302
|
+
dependencies: [
|
|
9303
|
+
];
|
|
9304
|
+
pluginConfiguration?: {
|
|
9305
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9306
|
+
} | undefined;
|
|
9307
|
+
commands: {
|
|
9308
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9309
|
+
};
|
|
9310
|
+
}, {
|
|
9311
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9312
|
+
} | undefined>>,
|
|
9170
9313
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
9171
9314
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
9172
9315
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -1042,6 +1042,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1042
1042
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1043
1043
|
};
|
|
1044
1044
|
}, undefined>>,
|
|
1045
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1046
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1047
|
+
dependencies: [
|
|
1048
|
+
];
|
|
1049
|
+
pluginConfiguration?: {
|
|
1050
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
commands: {
|
|
1053
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1054
|
+
};
|
|
1055
|
+
}, {
|
|
1056
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1057
|
+
} | undefined>>,
|
|
1045
1058
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1046
1059
|
pluginConfiguration: FeatureFlags;
|
|
1047
1060
|
sharedState: FeatureFlags;
|
|
@@ -3033,6 +3046,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3033
3046
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3034
3047
|
};
|
|
3035
3048
|
}, undefined>>,
|
|
3049
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3050
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3051
|
+
dependencies: [
|
|
3052
|
+
];
|
|
3053
|
+
pluginConfiguration?: {
|
|
3054
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3055
|
+
} | undefined;
|
|
3056
|
+
commands: {
|
|
3057
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3058
|
+
};
|
|
3059
|
+
}, {
|
|
3060
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3061
|
+
} | undefined>>,
|
|
3036
3062
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3037
3063
|
pluginConfiguration: FeatureFlags;
|
|
3038
3064
|
sharedState: FeatureFlags;
|
|
@@ -3244,6 +3270,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
3244
3270
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3245
3271
|
};
|
|
3246
3272
|
}, undefined>>,
|
|
3273
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3274
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3275
|
+
dependencies: [
|
|
3276
|
+
];
|
|
3277
|
+
pluginConfiguration?: {
|
|
3278
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3279
|
+
} | undefined;
|
|
3280
|
+
commands: {
|
|
3281
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3282
|
+
};
|
|
3283
|
+
}, {
|
|
3284
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3285
|
+
} | undefined>>,
|
|
3247
3286
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3248
3287
|
pluginConfiguration: FeatureFlags;
|
|
3249
3288
|
sharedState: FeatureFlags;
|
|
@@ -4397,6 +4436,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4397
4436
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4398
4437
|
};
|
|
4399
4438
|
}, undefined>>,
|
|
4439
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4440
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4441
|
+
dependencies: [
|
|
4442
|
+
];
|
|
4443
|
+
pluginConfiguration?: {
|
|
4444
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4445
|
+
} | undefined;
|
|
4446
|
+
commands: {
|
|
4447
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4448
|
+
};
|
|
4449
|
+
}, {
|
|
4450
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4451
|
+
} | undefined>>,
|
|
4400
4452
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4401
4453
|
pluginConfiguration: FeatureFlags;
|
|
4402
4454
|
sharedState: FeatureFlags;
|
|
@@ -6388,6 +6440,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6388
6440
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6389
6441
|
};
|
|
6390
6442
|
}, undefined>>,
|
|
6443
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6444
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
6445
|
+
dependencies: [
|
|
6446
|
+
];
|
|
6447
|
+
pluginConfiguration?: {
|
|
6448
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
6449
|
+
} | undefined;
|
|
6450
|
+
commands: {
|
|
6451
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6452
|
+
};
|
|
6453
|
+
}, {
|
|
6454
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
6455
|
+
} | undefined>>,
|
|
6391
6456
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6392
6457
|
pluginConfiguration: FeatureFlags;
|
|
6393
6458
|
sharedState: FeatureFlags;
|
|
@@ -6599,6 +6664,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
6599
6664
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
6600
6665
|
};
|
|
6601
6666
|
}, undefined>>,
|
|
6667
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
6668
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
6669
|
+
dependencies: [
|
|
6670
|
+
];
|
|
6671
|
+
pluginConfiguration?: {
|
|
6672
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
6673
|
+
} | undefined;
|
|
6674
|
+
commands: {
|
|
6675
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6676
|
+
};
|
|
6677
|
+
}, {
|
|
6678
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
6679
|
+
} | undefined>>,
|
|
6602
6680
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
6603
6681
|
pluginConfiguration: FeatureFlags;
|
|
6604
6682
|
sharedState: FeatureFlags;
|
|
@@ -1189,6 +1189,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1189
1189
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1190
1190
|
};
|
|
1191
1191
|
}, undefined>>,
|
|
1192
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1193
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1194
|
+
dependencies: [
|
|
1195
|
+
];
|
|
1196
|
+
pluginConfiguration?: {
|
|
1197
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1198
|
+
} | undefined;
|
|
1199
|
+
commands: {
|
|
1200
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1201
|
+
};
|
|
1202
|
+
}, {
|
|
1203
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1204
|
+
} | undefined>>,
|
|
1192
1205
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1193
1206
|
pluginConfiguration: FeatureFlags;
|
|
1194
1207
|
sharedState: FeatureFlags;
|
|
@@ -1400,6 +1413,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1400
1413
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1401
1414
|
};
|
|
1402
1415
|
}, undefined>>,
|
|
1416
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1417
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1418
|
+
dependencies: [
|
|
1419
|
+
];
|
|
1420
|
+
pluginConfiguration?: {
|
|
1421
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1422
|
+
} | undefined;
|
|
1423
|
+
commands: {
|
|
1424
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1425
|
+
};
|
|
1426
|
+
}, {
|
|
1427
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1428
|
+
} | undefined>>,
|
|
1403
1429
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1404
1430
|
pluginConfiguration: FeatureFlags;
|
|
1405
1431
|
sharedState: FeatureFlags;
|
|
@@ -2674,6 +2700,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2674
2700
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2675
2701
|
};
|
|
2676
2702
|
}, undefined>>,
|
|
2703
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2704
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2705
|
+
dependencies: [
|
|
2706
|
+
];
|
|
2707
|
+
pluginConfiguration?: {
|
|
2708
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2709
|
+
} | undefined;
|
|
2710
|
+
commands: {
|
|
2711
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2712
|
+
};
|
|
2713
|
+
}, {
|
|
2714
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2715
|
+
} | undefined>>,
|
|
2677
2716
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2678
2717
|
pluginConfiguration: FeatureFlags;
|
|
2679
2718
|
sharedState: FeatureFlags;
|
|
@@ -2829,6 +2868,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2829
2868
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2830
2869
|
};
|
|
2831
2870
|
}, undefined>>,
|
|
2871
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2872
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2873
|
+
dependencies: [
|
|
2874
|
+
];
|
|
2875
|
+
pluginConfiguration?: {
|
|
2876
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2877
|
+
} | undefined;
|
|
2878
|
+
commands: {
|
|
2879
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2880
|
+
};
|
|
2881
|
+
}, {
|
|
2882
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2883
|
+
} | undefined>>,
|
|
2832
2884
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2833
2885
|
pluginConfiguration: FeatureFlags;
|
|
2834
2886
|
sharedState: FeatureFlags;
|
|
@@ -3666,6 +3718,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3666
3718
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3667
3719
|
};
|
|
3668
3720
|
}, undefined>>,
|
|
3721
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3722
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3723
|
+
dependencies: [
|
|
3724
|
+
];
|
|
3725
|
+
pluginConfiguration?: {
|
|
3726
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3727
|
+
} | undefined;
|
|
3728
|
+
commands: {
|
|
3729
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3730
|
+
};
|
|
3731
|
+
}, {
|
|
3732
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3733
|
+
} | undefined>>,
|
|
3669
3734
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3670
3735
|
pluginConfiguration: FeatureFlags;
|
|
3671
3736
|
sharedState: FeatureFlags;
|
|
@@ -4836,6 +4901,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4836
4901
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4837
4902
|
};
|
|
4838
4903
|
}, undefined>>,
|
|
4904
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
4905
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
4906
|
+
dependencies: [
|
|
4907
|
+
];
|
|
4908
|
+
pluginConfiguration?: {
|
|
4909
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4910
|
+
} | undefined;
|
|
4911
|
+
commands: {
|
|
4912
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4913
|
+
};
|
|
4914
|
+
}, {
|
|
4915
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4916
|
+
} | undefined>>,
|
|
4839
4917
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4840
4918
|
pluginConfiguration: FeatureFlags;
|
|
4841
4919
|
sharedState: FeatureFlags;
|
|
@@ -5438,6 +5516,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5438
5516
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5439
5517
|
};
|
|
5440
5518
|
}, undefined>>,
|
|
5519
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5520
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5521
|
+
dependencies: [
|
|
5522
|
+
];
|
|
5523
|
+
pluginConfiguration?: {
|
|
5524
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5525
|
+
} | undefined;
|
|
5526
|
+
commands: {
|
|
5527
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5528
|
+
};
|
|
5529
|
+
}, {
|
|
5530
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5531
|
+
} | undefined>>,
|
|
5441
5532
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5442
5533
|
pluginConfiguration: FeatureFlags;
|
|
5443
5534
|
sharedState: FeatureFlags;
|
|
@@ -5588,6 +5679,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5588
5679
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5589
5680
|
};
|
|
5590
5681
|
}, undefined>>,
|
|
5682
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
5683
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
5684
|
+
dependencies: [
|
|
5685
|
+
];
|
|
5686
|
+
pluginConfiguration?: {
|
|
5687
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5688
|
+
} | undefined;
|
|
5689
|
+
commands: {
|
|
5690
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5691
|
+
};
|
|
5692
|
+
}, {
|
|
5693
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5694
|
+
} | undefined>>,
|
|
5591
5695
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5592
5696
|
pluginConfiguration: FeatureFlags;
|
|
5593
5697
|
sharedState: FeatureFlags;
|
|
@@ -7017,6 +7121,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7017
7121
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
7018
7122
|
};
|
|
7019
7123
|
}, undefined>>,
|
|
7124
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
7125
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
7126
|
+
dependencies: [
|
|
7127
|
+
];
|
|
7128
|
+
pluginConfiguration?: {
|
|
7129
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7130
|
+
} | undefined;
|
|
7131
|
+
commands: {
|
|
7132
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7133
|
+
};
|
|
7134
|
+
}, {
|
|
7135
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7136
|
+
} | undefined>>,
|
|
7020
7137
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
7021
7138
|
pluginConfiguration: FeatureFlags;
|
|
7022
7139
|
sharedState: FeatureFlags;
|
|
@@ -9008,6 +9125,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
9008
9125
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
9009
9126
|
};
|
|
9010
9127
|
}, undefined>>,
|
|
9128
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9129
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9130
|
+
dependencies: [
|
|
9131
|
+
];
|
|
9132
|
+
pluginConfiguration?: {
|
|
9133
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9134
|
+
} | undefined;
|
|
9135
|
+
commands: {
|
|
9136
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9137
|
+
};
|
|
9138
|
+
}, {
|
|
9139
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9140
|
+
} | undefined>>,
|
|
9011
9141
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
9012
9142
|
pluginConfiguration: FeatureFlags;
|
|
9013
9143
|
sharedState: FeatureFlags;
|
|
@@ -9219,6 +9349,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
9219
9349
|
applyViewModeStepAt: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
9220
9350
|
};
|
|
9221
9351
|
}, undefined>>,
|
|
9352
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
9353
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
9354
|
+
dependencies: [
|
|
9355
|
+
];
|
|
9356
|
+
pluginConfiguration?: {
|
|
9357
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9358
|
+
} | undefined;
|
|
9359
|
+
commands: {
|
|
9360
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
9361
|
+
};
|
|
9362
|
+
}, {
|
|
9363
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
9364
|
+
} | undefined>>,
|
|
9222
9365
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
9223
9366
|
pluginConfiguration: FeatureFlags;
|
|
9224
9367
|
sharedState: FeatureFlags;
|