@atlaskit/editor-core 195.6.2 → 195.8.0
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 +25 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +64 -60
- package/dist/cjs/ui/ContextPanel/deprecated.js +283 -0
- package/dist/cjs/ui/ContextPanel/index.js +26 -133
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/index.js +6 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +4 -1
- package/dist/es2019/ui/ContextPanel/deprecated.js +258 -0
- package/dist/es2019/ui/ContextPanel/index.js +24 -133
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +64 -60
- package/dist/esm/ui/ContextPanel/deprecated.js +277 -0
- package/dist/esm/ui/ContextPanel/index.js +24 -132
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +81 -0
- package/dist/types/index.d.ts +6 -1
- package/dist/types/presets/default.d.ts +68 -0
- package/dist/types/presets/universal.d.ts +83 -1
- package/dist/types/presets/useUniversalPreset.d.ts +81 -0
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +3 -1
- package/dist/types/ui/ContextPanel/deprecated.d.ts +44 -0
- package/dist/types/ui/ContextPanel/index.d.ts +5 -9
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +81 -0
- package/dist/types-ts4.5/index.d.ts +6 -1
- package/dist/types-ts4.5/presets/default.d.ts +68 -0
- package/dist/types-ts4.5/presets/universal.d.ts +83 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +81 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +5 -1
- package/dist/types-ts4.5/ui/ContextPanel/deprecated.d.ts +44 -0
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +7 -9
- package/package.json +7 -12
|
@@ -12,7 +12,8 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
|
|
|
12
12
|
*/
|
|
13
13
|
export type InitialPluginConfiguration = {
|
|
14
14
|
mentionsPlugin?: {
|
|
15
|
-
|
|
15
|
+
handleMentionsChanged?: (mentionChanges: {
|
|
16
|
+
type: 'added' | 'deleted';
|
|
16
17
|
localId: string;
|
|
17
18
|
id: string;
|
|
18
19
|
}[]) => void;
|
|
@@ -260,6 +261,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
260
261
|
actions: {
|
|
261
262
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
262
263
|
};
|
|
264
|
+
sharedState: {
|
|
265
|
+
contents: import("react").ReactNode[] | undefined;
|
|
266
|
+
} | undefined;
|
|
263
267
|
}, undefined>>,
|
|
264
268
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
265
269
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -297,6 +301,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
297
301
|
actions: {
|
|
298
302
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
299
303
|
};
|
|
304
|
+
sharedState: {
|
|
305
|
+
contents: import("react").ReactNode[] | undefined;
|
|
306
|
+
} | undefined;
|
|
300
307
|
}, undefined>>,
|
|
301
308
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
302
309
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -526,6 +533,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
526
533
|
actions: {
|
|
527
534
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
528
535
|
};
|
|
536
|
+
sharedState: {
|
|
537
|
+
contents: import("react").ReactNode[] | undefined;
|
|
538
|
+
} | undefined;
|
|
529
539
|
}, undefined>>,
|
|
530
540
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
531
541
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -563,6 +573,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
563
573
|
actions: {
|
|
564
574
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
565
575
|
};
|
|
576
|
+
sharedState: {
|
|
577
|
+
contents: import("react").ReactNode[] | undefined;
|
|
578
|
+
} | undefined;
|
|
566
579
|
}, undefined>>,
|
|
567
580
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
568
581
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -845,6 +858,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
845
858
|
actions: {
|
|
846
859
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
847
860
|
};
|
|
861
|
+
sharedState: {
|
|
862
|
+
contents: import("react").ReactNode[] | undefined;
|
|
863
|
+
} | undefined;
|
|
848
864
|
}, undefined>>,
|
|
849
865
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
850
866
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1052,6 +1068,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1052
1068
|
actions: {
|
|
1053
1069
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1054
1070
|
announceMentionsInsertion: (mentionIds: {
|
|
1071
|
+
type: "added" | "deleted";
|
|
1055
1072
|
localId: string;
|
|
1056
1073
|
id: string;
|
|
1057
1074
|
}[]) => void;
|
|
@@ -1548,6 +1565,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1548
1565
|
actions: {
|
|
1549
1566
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1550
1567
|
};
|
|
1568
|
+
sharedState: {
|
|
1569
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1570
|
+
} | undefined;
|
|
1551
1571
|
}, undefined>>,
|
|
1552
1572
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1553
1573
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -1585,6 +1605,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1585
1605
|
actions: {
|
|
1586
1606
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1587
1607
|
};
|
|
1608
|
+
sharedState: {
|
|
1609
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1610
|
+
} | undefined;
|
|
1588
1611
|
}, undefined>>,
|
|
1589
1612
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1590
1613
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1984,6 +2007,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1984
2007
|
actions: {
|
|
1985
2008
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1986
2009
|
};
|
|
2010
|
+
sharedState: {
|
|
2011
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2012
|
+
} | undefined;
|
|
1987
2013
|
}, undefined>>,
|
|
1988
2014
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1989
2015
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -2010,6 +2036,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2010
2036
|
actions: {
|
|
2011
2037
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2012
2038
|
};
|
|
2039
|
+
sharedState: {
|
|
2040
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2041
|
+
} | undefined;
|
|
2013
2042
|
}, undefined> | undefined,
|
|
2014
2043
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
2015
2044
|
pluginConfiguration: import("@atlaskit/editor-plugins/panel").PanelPluginOptions | undefined;
|
|
@@ -2187,6 +2216,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2187
2216
|
actions: {
|
|
2188
2217
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2189
2218
|
};
|
|
2219
|
+
sharedState: {
|
|
2220
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2221
|
+
} | undefined;
|
|
2190
2222
|
}, undefined>>,
|
|
2191
2223
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
2192
2224
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -2224,6 +2256,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2224
2256
|
actions: {
|
|
2225
2257
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2226
2258
|
};
|
|
2259
|
+
sharedState: {
|
|
2260
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2261
|
+
} | undefined;
|
|
2227
2262
|
}, undefined>>,
|
|
2228
2263
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2229
2264
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -2935,6 +2970,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2935
2970
|
actions: {
|
|
2936
2971
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2937
2972
|
announceMentionsInsertion: (mentionIds: {
|
|
2973
|
+
type: "added" | "deleted";
|
|
2938
2974
|
localId: string;
|
|
2939
2975
|
id: string;
|
|
2940
2976
|
}[]) => void;
|
|
@@ -3067,6 +3103,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3067
3103
|
actions: {
|
|
3068
3104
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3069
3105
|
};
|
|
3106
|
+
sharedState: {
|
|
3107
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3108
|
+
} | undefined;
|
|
3070
3109
|
}, undefined>>,
|
|
3071
3110
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3072
3111
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -3104,6 +3143,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3104
3143
|
actions: {
|
|
3105
3144
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3106
3145
|
};
|
|
3146
|
+
sharedState: {
|
|
3147
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3148
|
+
} | undefined;
|
|
3107
3149
|
}, undefined>>,
|
|
3108
3150
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3109
3151
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -3441,6 +3483,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3441
3483
|
actions: {
|
|
3442
3484
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3443
3485
|
};
|
|
3486
|
+
sharedState: {
|
|
3487
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3488
|
+
} | undefined;
|
|
3444
3489
|
}, undefined>>,
|
|
3445
3490
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3446
3491
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -3478,6 +3523,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3478
3523
|
actions: {
|
|
3479
3524
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3480
3525
|
};
|
|
3526
|
+
sharedState: {
|
|
3527
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3528
|
+
} | undefined;
|
|
3481
3529
|
}, undefined>>,
|
|
3482
3530
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3483
3531
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4182,6 +4230,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4182
4230
|
actions: {
|
|
4183
4231
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4184
4232
|
};
|
|
4233
|
+
sharedState: {
|
|
4234
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4235
|
+
} | undefined;
|
|
4185
4236
|
}, undefined>>,
|
|
4186
4237
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4187
4238
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -4219,6 +4270,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4219
4270
|
actions: {
|
|
4220
4271
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4221
4272
|
};
|
|
4273
|
+
sharedState: {
|
|
4274
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4275
|
+
} | undefined;
|
|
4222
4276
|
}, undefined>>,
|
|
4223
4277
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4224
4278
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4451,6 +4505,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4451
4505
|
actions: {
|
|
4452
4506
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4453
4507
|
};
|
|
4508
|
+
sharedState: {
|
|
4509
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4510
|
+
} | undefined;
|
|
4454
4511
|
}, undefined>>,
|
|
4455
4512
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
4456
4513
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -4488,6 +4545,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4488
4545
|
actions: {
|
|
4489
4546
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4490
4547
|
};
|
|
4548
|
+
sharedState: {
|
|
4549
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4550
|
+
} | undefined;
|
|
4491
4551
|
}, undefined>>,
|
|
4492
4552
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
4493
4553
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5003,6 +5063,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5003
5063
|
actions: {
|
|
5004
5064
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5005
5065
|
};
|
|
5066
|
+
sharedState: {
|
|
5067
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5068
|
+
} | undefined;
|
|
5006
5069
|
}, undefined>>,
|
|
5007
5070
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5008
5071
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -5040,6 +5103,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5040
5103
|
actions: {
|
|
5041
5104
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5042
5105
|
};
|
|
5106
|
+
sharedState: {
|
|
5107
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5108
|
+
} | undefined;
|
|
5043
5109
|
}, undefined>>,
|
|
5044
5110
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
5045
5111
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5542,6 +5608,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5542
5608
|
actions: {
|
|
5543
5609
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5544
5610
|
};
|
|
5611
|
+
sharedState: {
|
|
5612
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5613
|
+
} | undefined;
|
|
5545
5614
|
}, undefined>>,
|
|
5546
5615
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5547
5616
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -5579,6 +5648,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5579
5648
|
actions: {
|
|
5580
5649
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5581
5650
|
};
|
|
5651
|
+
sharedState: {
|
|
5652
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5653
|
+
} | undefined;
|
|
5582
5654
|
}, undefined>>,
|
|
5583
5655
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
5584
5656
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5808,6 +5880,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5808
5880
|
actions: {
|
|
5809
5881
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5810
5882
|
};
|
|
5883
|
+
sharedState: {
|
|
5884
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5885
|
+
} | undefined;
|
|
5811
5886
|
}, undefined>>,
|
|
5812
5887
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
5813
5888
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -5845,6 +5920,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5845
5920
|
actions: {
|
|
5846
5921
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5847
5922
|
};
|
|
5923
|
+
sharedState: {
|
|
5924
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5925
|
+
} | undefined;
|
|
5848
5926
|
}, undefined>>,
|
|
5849
5927
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
5850
5928
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -6127,6 +6205,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6127
6205
|
actions: {
|
|
6128
6206
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
6129
6207
|
};
|
|
6208
|
+
sharedState: {
|
|
6209
|
+
contents: import("react").ReactNode[] | undefined;
|
|
6210
|
+
} | undefined;
|
|
6130
6211
|
}, undefined>>,
|
|
6131
6212
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
6132
6213
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -6334,6 +6415,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6334
6415
|
actions: {
|
|
6335
6416
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
6336
6417
|
announceMentionsInsertion: (mentionIds: {
|
|
6418
|
+
type: "added" | "deleted";
|
|
6337
6419
|
localId: string;
|
|
6338
6420
|
id: string;
|
|
6339
6421
|
}[]) => void;
|
|
@@ -225,6 +225,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
225
225
|
actions: {
|
|
226
226
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
227
227
|
};
|
|
228
|
+
sharedState: {
|
|
229
|
+
contents: import("react").ReactNode[] | undefined;
|
|
230
|
+
} | undefined;
|
|
228
231
|
}, undefined>>,
|
|
229
232
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
230
233
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -262,6 +265,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
262
265
|
actions: {
|
|
263
266
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
264
267
|
};
|
|
268
|
+
sharedState: {
|
|
269
|
+
contents: import("react").ReactNode[] | undefined;
|
|
270
|
+
} | undefined;
|
|
265
271
|
}, undefined>>,
|
|
266
272
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
267
273
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -491,6 +497,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
491
497
|
actions: {
|
|
492
498
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
493
499
|
};
|
|
500
|
+
sharedState: {
|
|
501
|
+
contents: import("react").ReactNode[] | undefined;
|
|
502
|
+
} | undefined;
|
|
494
503
|
}, undefined>>,
|
|
495
504
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
496
505
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -528,6 +537,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
528
537
|
actions: {
|
|
529
538
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
530
539
|
};
|
|
540
|
+
sharedState: {
|
|
541
|
+
contents: import("react").ReactNode[] | undefined;
|
|
542
|
+
} | undefined;
|
|
531
543
|
}, undefined>>,
|
|
532
544
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
533
545
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -810,6 +822,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
810
822
|
actions: {
|
|
811
823
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
812
824
|
};
|
|
825
|
+
sharedState: {
|
|
826
|
+
contents: import("react").ReactNode[] | undefined;
|
|
827
|
+
} | undefined;
|
|
813
828
|
}, undefined>>,
|
|
814
829
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
815
830
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1017,6 +1032,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1017
1032
|
actions: {
|
|
1018
1033
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1019
1034
|
announceMentionsInsertion: (mentionIds: {
|
|
1035
|
+
type: "added" | "deleted";
|
|
1020
1036
|
localId: string;
|
|
1021
1037
|
id: string;
|
|
1022
1038
|
}[]) => void;
|
|
@@ -1513,6 +1529,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1513
1529
|
actions: {
|
|
1514
1530
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1515
1531
|
};
|
|
1532
|
+
sharedState: {
|
|
1533
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1534
|
+
} | undefined;
|
|
1516
1535
|
}, undefined>>,
|
|
1517
1536
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
1518
1537
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -1550,6 +1569,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1550
1569
|
actions: {
|
|
1551
1570
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1552
1571
|
};
|
|
1572
|
+
sharedState: {
|
|
1573
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1574
|
+
} | undefined;
|
|
1553
1575
|
}, undefined>>,
|
|
1554
1576
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
1555
1577
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1949,6 +1971,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1949
1971
|
actions: {
|
|
1950
1972
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1951
1973
|
};
|
|
1974
|
+
sharedState: {
|
|
1975
|
+
contents: import("react").ReactNode[] | undefined;
|
|
1976
|
+
} | undefined;
|
|
1952
1977
|
}, undefined>>,
|
|
1953
1978
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
1954
1979
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -1975,6 +2000,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1975
2000
|
actions: {
|
|
1976
2001
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1977
2002
|
};
|
|
2003
|
+
sharedState: {
|
|
2004
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2005
|
+
} | undefined;
|
|
1978
2006
|
}, undefined> | undefined,
|
|
1979
2007
|
import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"panel", {
|
|
1980
2008
|
pluginConfiguration: import("@atlaskit/editor-plugin-panel").PanelPluginOptions | undefined;
|
|
@@ -2152,6 +2180,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2152
2180
|
actions: {
|
|
2153
2181
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2154
2182
|
};
|
|
2183
|
+
sharedState: {
|
|
2184
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2185
|
+
} | undefined;
|
|
2155
2186
|
}, undefined>>,
|
|
2156
2187
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
2157
2188
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -2189,6 +2220,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2189
2220
|
actions: {
|
|
2190
2221
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2191
2222
|
};
|
|
2223
|
+
sharedState: {
|
|
2224
|
+
contents: import("react").ReactNode[] | undefined;
|
|
2225
|
+
} | undefined;
|
|
2192
2226
|
}, undefined>>,
|
|
2193
2227
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
2194
2228
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -2900,6 +2934,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2900
2934
|
actions: {
|
|
2901
2935
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2902
2936
|
announceMentionsInsertion: (mentionIds: {
|
|
2937
|
+
type: "added" | "deleted";
|
|
2903
2938
|
localId: string;
|
|
2904
2939
|
id: string;
|
|
2905
2940
|
}[]) => void;
|
|
@@ -3032,6 +3067,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3032
3067
|
actions: {
|
|
3033
3068
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3034
3069
|
};
|
|
3070
|
+
sharedState: {
|
|
3071
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3072
|
+
} | undefined;
|
|
3035
3073
|
}, undefined>>,
|
|
3036
3074
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
3037
3075
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -3069,6 +3107,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3069
3107
|
actions: {
|
|
3070
3108
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3071
3109
|
};
|
|
3110
|
+
sharedState: {
|
|
3111
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3112
|
+
} | undefined;
|
|
3072
3113
|
}, undefined>>,
|
|
3073
3114
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
3074
3115
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -3406,6 +3447,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3406
3447
|
actions: {
|
|
3407
3448
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3408
3449
|
};
|
|
3450
|
+
sharedState: {
|
|
3451
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3452
|
+
} | undefined;
|
|
3409
3453
|
}, undefined>>,
|
|
3410
3454
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
3411
3455
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -3443,6 +3487,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3443
3487
|
actions: {
|
|
3444
3488
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3445
3489
|
};
|
|
3490
|
+
sharedState: {
|
|
3491
|
+
contents: import("react").ReactNode[] | undefined;
|
|
3492
|
+
} | undefined;
|
|
3446
3493
|
}, undefined>>,
|
|
3447
3494
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
3448
3495
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4147,6 +4194,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4147
4194
|
actions: {
|
|
4148
4195
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4149
4196
|
};
|
|
4197
|
+
sharedState: {
|
|
4198
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4199
|
+
} | undefined;
|
|
4150
4200
|
}, undefined>>,
|
|
4151
4201
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
4152
4202
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -4184,6 +4234,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4184
4234
|
actions: {
|
|
4185
4235
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4186
4236
|
};
|
|
4237
|
+
sharedState: {
|
|
4238
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4239
|
+
} | undefined;
|
|
4187
4240
|
}, undefined>>,
|
|
4188
4241
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
4189
4242
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4416,6 +4469,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4416
4469
|
actions: {
|
|
4417
4470
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4418
4471
|
};
|
|
4472
|
+
sharedState: {
|
|
4473
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4474
|
+
} | undefined;
|
|
4419
4475
|
}, undefined>>,
|
|
4420
4476
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
4421
4477
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -4453,6 +4509,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4453
4509
|
actions: {
|
|
4454
4510
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4455
4511
|
};
|
|
4512
|
+
sharedState: {
|
|
4513
|
+
contents: import("react").ReactNode[] | undefined;
|
|
4514
|
+
} | undefined;
|
|
4456
4515
|
}, undefined>>,
|
|
4457
4516
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
4458
4517
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -4968,6 +5027,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4968
5027
|
actions: {
|
|
4969
5028
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
4970
5029
|
};
|
|
5030
|
+
sharedState: {
|
|
5031
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5032
|
+
} | undefined;
|
|
4971
5033
|
}, undefined>>,
|
|
4972
5034
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
4973
5035
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -5005,6 +5067,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5005
5067
|
actions: {
|
|
5006
5068
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5007
5069
|
};
|
|
5070
|
+
sharedState: {
|
|
5071
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5072
|
+
} | undefined;
|
|
5008
5073
|
}, undefined>>,
|
|
5009
5074
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
5010
5075
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5507,6 +5572,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5507
5572
|
actions: {
|
|
5508
5573
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5509
5574
|
};
|
|
5575
|
+
sharedState: {
|
|
5576
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5577
|
+
} | undefined;
|
|
5510
5578
|
}, undefined>>,
|
|
5511
5579
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
5512
5580
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -5544,6 +5612,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5544
5612
|
actions: {
|
|
5545
5613
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5546
5614
|
};
|
|
5615
|
+
sharedState: {
|
|
5616
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5617
|
+
} | undefined;
|
|
5547
5618
|
}, undefined>>,
|
|
5548
5619
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
5549
5620
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -5773,6 +5844,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5773
5844
|
actions: {
|
|
5774
5845
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5775
5846
|
};
|
|
5847
|
+
sharedState: {
|
|
5848
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5849
|
+
} | undefined;
|
|
5776
5850
|
}, undefined>>,
|
|
5777
5851
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
|
|
5778
5852
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -5810,6 +5884,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5810
5884
|
actions: {
|
|
5811
5885
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
5812
5886
|
};
|
|
5887
|
+
sharedState: {
|
|
5888
|
+
contents: import("react").ReactNode[] | undefined;
|
|
5889
|
+
} | undefined;
|
|
5813
5890
|
}, undefined>>,
|
|
5814
5891
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
5815
5892
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -6092,6 +6169,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6092
6169
|
actions: {
|
|
6093
6170
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
6094
6171
|
};
|
|
6172
|
+
sharedState: {
|
|
6173
|
+
contents: import("react").ReactNode[] | undefined;
|
|
6174
|
+
} | undefined;
|
|
6095
6175
|
}, undefined>>,
|
|
6096
6176
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"contextIdentifier", {
|
|
6097
6177
|
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
@@ -6299,6 +6379,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
6299
6379
|
actions: {
|
|
6300
6380
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
6301
6381
|
announceMentionsInsertion: (mentionIds: {
|
|
6382
|
+
type: "added" | "deleted";
|
|
6302
6383
|
localId: string;
|
|
6303
6384
|
id: string;
|
|
6304
6385
|
}[]) => void;
|
|
@@ -7,7 +7,8 @@ import React from 'react';
|
|
|
7
7
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
8
8
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
10
|
-
import type { ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
10
|
+
import type { OptionalPlugin, PublicPluginAPI, ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
11
|
+
import { type ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
11
12
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
12
13
|
import type EditorActions from '../../../actions';
|
|
13
14
|
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
@@ -15,6 +16,9 @@ import type { ContentComponents, EditorAppearance, ReactComponents, UIComponentF
|
|
|
15
16
|
import type { FeatureFlags } from '../../../types/feature-flags';
|
|
16
17
|
import { type ScrollContainerRefs } from './types';
|
|
17
18
|
interface FullPageEditorContentAreaProps {
|
|
19
|
+
editorAPI: PublicPluginAPI<[
|
|
20
|
+
OptionalPlugin<ContextPanelPlugin>
|
|
21
|
+
]> | undefined;
|
|
18
22
|
appearance: EditorAppearance | undefined;
|
|
19
23
|
contentComponents: UIComponentFactory[] | undefined;
|
|
20
24
|
pluginHooks: ReactHookFactory[] | undefined;
|