@atlaskit/editor-core 191.6.1 → 191.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/cjs/composable-editor/editor-internal.js +4 -0
- package/dist/cjs/composable-editor/hooks/useProviders.js +57 -0
- package/dist/cjs/presets/default.js +4 -1
- package/dist/cjs/ui/ToolbarFeedback/index.js +6 -7
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +4 -0
- package/dist/es2019/composable-editor/hooks/useProviders.js +28 -0
- package/dist/es2019/presets/default.js +4 -1
- package/dist/es2019/ui/ToolbarFeedback/index.js +2 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +4 -0
- package/dist/esm/composable-editor/hooks/useProviders.js +50 -0
- package/dist/esm/presets/default.js +4 -1
- package/dist/esm/ui/ToolbarFeedback/index.js +6 -7
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useProviders.d.ts +14 -0
- package/dist/types/create-editor/create-preset.d.ts +155 -23
- package/dist/types/presets/default.d.ts +146 -36
- package/dist/types/presets/universal.d.ts +155 -23
- package/dist/types/presets/useUniversalPreset.d.ts +155 -23
- package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +14 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +171 -16
- package/dist/types-ts4.5/presets/default.d.ts +158 -28
- package/dist/types-ts4.5/presets/universal.d.ts +171 -16
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +171 -16
- package/package.json +18 -22
- package/tsconfig.json +9 -3
|
@@ -67,6 +67,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
67
67
|
"typeAhead",
|
|
68
68
|
"decorations",
|
|
69
69
|
"base",
|
|
70
|
+
"contextIdentifier",
|
|
70
71
|
"composition",
|
|
71
72
|
"focus",
|
|
72
73
|
"clipboard",
|
|
@@ -295,7 +296,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
295
296
|
actions: {
|
|
296
297
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
297
298
|
};
|
|
298
|
-
}, undefined
|
|
299
|
+
}, undefined>>,
|
|
300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
301
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
302
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
303
|
+
commands: {
|
|
304
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
305
|
+
};
|
|
306
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
299
307
|
];
|
|
300
308
|
sharedState: {
|
|
301
309
|
showContextPanel: boolean | undefined;
|
|
@@ -424,6 +432,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
424
432
|
];
|
|
425
433
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
426
434
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
435
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
436
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
437
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
438
|
+
commands: {
|
|
439
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
440
|
+
};
|
|
441
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
427
442
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
428
443
|
dependencies: [
|
|
429
444
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -515,7 +530,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
515
530
|
actions: {
|
|
516
531
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
517
532
|
};
|
|
518
|
-
}, undefined
|
|
533
|
+
}, undefined>>,
|
|
534
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
535
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
536
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
537
|
+
commands: {
|
|
538
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
539
|
+
};
|
|
540
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
519
541
|
];
|
|
520
542
|
sharedState: {
|
|
521
543
|
showContextPanel: boolean | undefined;
|
|
@@ -631,7 +653,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
631
653
|
actions: {
|
|
632
654
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
633
655
|
};
|
|
634
|
-
}, undefined
|
|
656
|
+
}, undefined>>,
|
|
657
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
658
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
659
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
660
|
+
commands: {
|
|
661
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
662
|
+
};
|
|
663
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
635
664
|
];
|
|
636
665
|
sharedState: {
|
|
637
666
|
showContextPanel: boolean | undefined;
|
|
@@ -938,7 +967,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
938
967
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
939
968
|
];
|
|
940
969
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
941
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
970
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
971
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
972
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
973
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
974
|
+
commands: {
|
|
975
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
976
|
+
};
|
|
977
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
942
978
|
];
|
|
943
979
|
actions: {
|
|
944
980
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -1126,7 +1162,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1126
1162
|
actions: {
|
|
1127
1163
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1128
1164
|
};
|
|
1129
|
-
}, undefined
|
|
1165
|
+
}, undefined>>,
|
|
1166
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1167
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1168
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1169
|
+
commands: {
|
|
1170
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1171
|
+
};
|
|
1172
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1130
1173
|
];
|
|
1131
1174
|
sharedState: {
|
|
1132
1175
|
showContextPanel: boolean | undefined;
|
|
@@ -1418,7 +1461,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1418
1461
|
actions: {
|
|
1419
1462
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1420
1463
|
};
|
|
1421
|
-
}, undefined
|
|
1464
|
+
}, undefined>>,
|
|
1465
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1466
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1467
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1468
|
+
commands: {
|
|
1469
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1470
|
+
};
|
|
1471
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1422
1472
|
];
|
|
1423
1473
|
sharedState: {
|
|
1424
1474
|
showContextPanel: boolean | undefined;
|
|
@@ -1523,6 +1573,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1523
1573
|
];
|
|
1524
1574
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1525
1575
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1576
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1577
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1578
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1579
|
+
commands: {
|
|
1580
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1581
|
+
};
|
|
1582
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
1526
1583
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
1527
1584
|
dependencies: [
|
|
1528
1585
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -1614,7 +1671,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1614
1671
|
actions: {
|
|
1615
1672
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1616
1673
|
};
|
|
1617
|
-
}, undefined
|
|
1674
|
+
}, undefined>>,
|
|
1675
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1676
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1677
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1678
|
+
commands: {
|
|
1679
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1680
|
+
};
|
|
1681
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1618
1682
|
];
|
|
1619
1683
|
sharedState: {
|
|
1620
1684
|
showContextPanel: boolean | undefined;
|
|
@@ -1877,7 +1941,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1877
1941
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1878
1942
|
];
|
|
1879
1943
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1880
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1944
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1945
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
1946
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
1947
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
1948
|
+
commands: {
|
|
1949
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1950
|
+
};
|
|
1951
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
1881
1952
|
];
|
|
1882
1953
|
actions: {
|
|
1883
1954
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2091,7 +2162,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2091
2162
|
query?: string | undefined;
|
|
2092
2163
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2093
2164
|
};
|
|
2094
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2165
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
|
|
2166
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2167
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2168
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2169
|
+
commands: {
|
|
2170
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2171
|
+
};
|
|
2172
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2095
2173
|
];
|
|
2096
2174
|
sharedState: import("@atlaskit/editor-plugin-mentions").MentionSharedState | undefined;
|
|
2097
2175
|
actions: {
|
|
@@ -2139,6 +2217,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2139
2217
|
];
|
|
2140
2218
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2141
2219
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2220
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2221
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2222
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2223
|
+
commands: {
|
|
2224
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2225
|
+
};
|
|
2226
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
2142
2227
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2143
2228
|
dependencies: [
|
|
2144
2229
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -2230,7 +2315,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2230
2315
|
actions: {
|
|
2231
2316
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2232
2317
|
};
|
|
2233
|
-
}, undefined
|
|
2318
|
+
}, undefined>>,
|
|
2319
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2320
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2321
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2322
|
+
commands: {
|
|
2323
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2324
|
+
};
|
|
2325
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2234
2326
|
];
|
|
2235
2327
|
sharedState: {
|
|
2236
2328
|
showContextPanel: boolean | undefined;
|
|
@@ -2588,7 +2680,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2588
2680
|
actions: {
|
|
2589
2681
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2590
2682
|
};
|
|
2591
|
-
}, undefined
|
|
2683
|
+
}, undefined>>,
|
|
2684
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2685
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2686
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2687
|
+
commands: {
|
|
2688
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2689
|
+
};
|
|
2690
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2592
2691
|
];
|
|
2593
2692
|
sharedState: {
|
|
2594
2693
|
showContextPanel: boolean | undefined;
|
|
@@ -2693,6 +2792,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2693
2792
|
];
|
|
2694
2793
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2695
2794
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2795
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2796
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2797
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2798
|
+
commands: {
|
|
2799
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2800
|
+
};
|
|
2801
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
2696
2802
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
2697
2803
|
dependencies: [
|
|
2698
2804
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -2784,7 +2890,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2784
2890
|
actions: {
|
|
2785
2891
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
2786
2892
|
};
|
|
2787
|
-
}, undefined
|
|
2893
|
+
}, undefined>>,
|
|
2894
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
2895
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
2896
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
2897
|
+
commands: {
|
|
2898
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2899
|
+
};
|
|
2900
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
2788
2901
|
];
|
|
2789
2902
|
sharedState: {
|
|
2790
2903
|
showContextPanel: boolean | undefined;
|
|
@@ -3254,13 +3367,27 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3254
3367
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3255
3368
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3256
3369
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3257
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags
|
|
3370
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>,
|
|
3371
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3372
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3373
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
3374
|
+
commands: {
|
|
3375
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3376
|
+
};
|
|
3377
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
3258
3378
|
];
|
|
3259
3379
|
sharedState: import("@atlaskit/editor-plugin-base").BasePluginState;
|
|
3260
3380
|
actions: {
|
|
3261
3381
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
3262
3382
|
};
|
|
3263
3383
|
}, import("@atlaskit/editor-plugin-base").BasePluginOptions | undefined>,
|
|
3384
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3385
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3386
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
3387
|
+
commands: {
|
|
3388
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3389
|
+
};
|
|
3390
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>,
|
|
3264
3391
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"composition", {
|
|
3265
3392
|
sharedState: import("@atlaskit/editor-plugin-composition").CompositionState;
|
|
3266
3393
|
}, undefined>,
|
|
@@ -3416,7 +3543,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3416
3543
|
actions: {
|
|
3417
3544
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3418
3545
|
};
|
|
3419
|
-
}, undefined
|
|
3546
|
+
}, undefined>>,
|
|
3547
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3548
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3549
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
3550
|
+
commands: {
|
|
3551
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3552
|
+
};
|
|
3553
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
3420
3554
|
];
|
|
3421
3555
|
sharedState: {
|
|
3422
3556
|
showContextPanel: boolean | undefined;
|
|
@@ -3545,6 +3679,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3545
3679
|
];
|
|
3546
3680
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3547
3681
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3682
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3683
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3684
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
3685
|
+
commands: {
|
|
3686
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3687
|
+
};
|
|
3688
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
3548
3689
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
3549
3690
|
dependencies: [
|
|
3550
3691
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -3636,7 +3777,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3636
3777
|
actions: {
|
|
3637
3778
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3638
3779
|
};
|
|
3639
|
-
}, undefined
|
|
3780
|
+
}, undefined>>,
|
|
3781
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3782
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3783
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
3784
|
+
commands: {
|
|
3785
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3786
|
+
};
|
|
3787
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
3640
3788
|
];
|
|
3641
3789
|
sharedState: {
|
|
3642
3790
|
showContextPanel: boolean | undefined;
|
|
@@ -3752,7 +3900,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3752
3900
|
actions: {
|
|
3753
3901
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
3754
3902
|
};
|
|
3755
|
-
}, undefined
|
|
3903
|
+
}, undefined>>,
|
|
3904
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextIdentifier", {
|
|
3905
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined;
|
|
3906
|
+
sharedState: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration | undefined;
|
|
3907
|
+
commands: {
|
|
3908
|
+
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3909
|
+
};
|
|
3910
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>
|
|
3756
3911
|
];
|
|
3757
3912
|
sharedState: {
|
|
3758
3913
|
showContextPanel: boolean | undefined;
|