@atlaskit/editor-core 191.4.7 → 191.4.10
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 +12 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/presets/default.d.ts +110 -8
- package/dist/types-ts4.5/presets/default.d.ts +122 -8
- package/package.json +4 -3
- package/tsconfig.json +1669 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 191.4.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#63634](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63634) [`669b7038b354`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/669b7038b354) - chenged aria-label text
|
|
8
|
+
|
|
9
|
+
## 191.4.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 191.4.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "191.4.
|
|
2
|
+
export const version = "191.4.10";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "191.4.
|
|
2
|
+
export var version = "191.4.10";
|
|
@@ -140,7 +140,17 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
140
140
|
};
|
|
141
141
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
142
142
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
143
|
-
}, undefined
|
|
143
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
144
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
145
|
+
pluginConfiguration?: {
|
|
146
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
147
|
+
} | undefined;
|
|
148
|
+
commands: {
|
|
149
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
150
|
+
};
|
|
151
|
+
}, {
|
|
152
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
153
|
+
} | undefined>>];
|
|
144
154
|
actions: {
|
|
145
155
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
146
156
|
};
|
|
@@ -286,7 +296,17 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
286
296
|
};
|
|
287
297
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
288
298
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
289
|
-
}, undefined
|
|
299
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
300
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
301
|
+
pluginConfiguration?: {
|
|
302
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
commands: {
|
|
305
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
306
|
+
};
|
|
307
|
+
}, {
|
|
308
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
309
|
+
} | undefined>>];
|
|
290
310
|
actions: {
|
|
291
311
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
292
312
|
};
|
|
@@ -476,6 +496,17 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
476
496
|
pluginConfiguration: {
|
|
477
497
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
478
498
|
};
|
|
499
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
500
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
501
|
+
pluginConfiguration?: {
|
|
502
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
commands: {
|
|
505
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
506
|
+
};
|
|
507
|
+
}, {
|
|
508
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
509
|
+
} | undefined>>];
|
|
479
510
|
}, {
|
|
480
511
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
481
512
|
}>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
@@ -777,7 +808,17 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
777
808
|
};
|
|
778
809
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
779
810
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
780
|
-
}, undefined
|
|
811
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
812
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
813
|
+
pluginConfiguration?: {
|
|
814
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
815
|
+
} | undefined;
|
|
816
|
+
commands: {
|
|
817
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
818
|
+
};
|
|
819
|
+
}, {
|
|
820
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
821
|
+
} | undefined>>];
|
|
781
822
|
actions: {
|
|
782
823
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
783
824
|
};
|
|
@@ -944,7 +985,17 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
944
985
|
};
|
|
945
986
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
946
987
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
947
|
-
}, undefined
|
|
988
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
989
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
990
|
+
pluginConfiguration?: {
|
|
991
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
992
|
+
} | undefined;
|
|
993
|
+
commands: {
|
|
994
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
995
|
+
};
|
|
996
|
+
}, {
|
|
997
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
998
|
+
} | undefined>>];
|
|
948
999
|
actions: {
|
|
949
1000
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
950
1001
|
};
|
|
@@ -1157,7 +1208,17 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1157
1208
|
};
|
|
1158
1209
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1159
1210
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1160
|
-
}, undefined
|
|
1211
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1212
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1213
|
+
pluginConfiguration?: {
|
|
1214
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1215
|
+
} | undefined;
|
|
1216
|
+
commands: {
|
|
1217
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1218
|
+
};
|
|
1219
|
+
}, {
|
|
1220
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1221
|
+
} | undefined>>];
|
|
1161
1222
|
actions: {
|
|
1162
1223
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1163
1224
|
};
|
|
@@ -1303,7 +1364,17 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1303
1364
|
};
|
|
1304
1365
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1305
1366
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1306
|
-
}, undefined
|
|
1367
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1368
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1369
|
+
pluginConfiguration?: {
|
|
1370
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
commands: {
|
|
1373
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1374
|
+
};
|
|
1375
|
+
}, {
|
|
1376
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1377
|
+
} | undefined>>];
|
|
1307
1378
|
actions: {
|
|
1308
1379
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1309
1380
|
};
|
|
@@ -1493,6 +1564,17 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1493
1564
|
pluginConfiguration: {
|
|
1494
1565
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
1495
1566
|
};
|
|
1567
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1568
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1569
|
+
pluginConfiguration?: {
|
|
1570
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1571
|
+
} | undefined;
|
|
1572
|
+
commands: {
|
|
1573
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1574
|
+
};
|
|
1575
|
+
}, {
|
|
1576
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1577
|
+
} | undefined>>];
|
|
1496
1578
|
}, {
|
|
1497
1579
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
1498
1580
|
}>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
@@ -1794,7 +1876,17 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1794
1876
|
};
|
|
1795
1877
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1796
1878
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1797
|
-
}, undefined
|
|
1879
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1880
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1881
|
+
pluginConfiguration?: {
|
|
1882
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1883
|
+
} | undefined;
|
|
1884
|
+
commands: {
|
|
1885
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1886
|
+
};
|
|
1887
|
+
}, {
|
|
1888
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1889
|
+
} | undefined>>];
|
|
1798
1890
|
actions: {
|
|
1799
1891
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1800
1892
|
};
|
|
@@ -1961,7 +2053,17 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1961
2053
|
};
|
|
1962
2054
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1963
2055
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1964
|
-
}, undefined
|
|
2056
|
+
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2057
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2058
|
+
pluginConfiguration?: {
|
|
2059
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2060
|
+
} | undefined;
|
|
2061
|
+
commands: {
|
|
2062
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2063
|
+
};
|
|
2064
|
+
}, {
|
|
2065
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2066
|
+
} | undefined>>];
|
|
1965
2067
|
actions: {
|
|
1966
2068
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1967
2069
|
};
|
|
@@ -196,7 +196,18 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
196
196
|
}, undefined>,
|
|
197
197
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
198
198
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
199
|
-
}, undefined
|
|
199
|
+
}, undefined>,
|
|
200
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
201
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
202
|
+
pluginConfiguration?: {
|
|
203
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
commands: {
|
|
206
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
207
|
+
};
|
|
208
|
+
}, {
|
|
209
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
210
|
+
} | undefined>>
|
|
200
211
|
];
|
|
201
212
|
actions: {
|
|
202
213
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -381,7 +392,18 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
381
392
|
}, undefined>,
|
|
382
393
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
383
394
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
384
|
-
}, undefined
|
|
395
|
+
}, undefined>,
|
|
396
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
397
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
398
|
+
pluginConfiguration?: {
|
|
399
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
400
|
+
} | undefined;
|
|
401
|
+
commands: {
|
|
402
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
403
|
+
};
|
|
404
|
+
}, {
|
|
405
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
406
|
+
} | undefined>>
|
|
385
407
|
];
|
|
386
408
|
actions: {
|
|
387
409
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -607,6 +629,19 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
607
629
|
pluginConfiguration: {
|
|
608
630
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
609
631
|
};
|
|
632
|
+
dependencies: [
|
|
633
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
634
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
635
|
+
pluginConfiguration?: {
|
|
636
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
637
|
+
} | undefined;
|
|
638
|
+
commands: {
|
|
639
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
640
|
+
};
|
|
641
|
+
}, {
|
|
642
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
643
|
+
} | undefined>>
|
|
644
|
+
];
|
|
610
645
|
}, {
|
|
611
646
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
612
647
|
}>>,
|
|
@@ -978,7 +1013,18 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
978
1013
|
}, undefined>,
|
|
979
1014
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
980
1015
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
981
|
-
}, undefined
|
|
1016
|
+
}, undefined>,
|
|
1017
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1018
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1019
|
+
pluginConfiguration?: {
|
|
1020
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1021
|
+
} | undefined;
|
|
1022
|
+
commands: {
|
|
1023
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1024
|
+
};
|
|
1025
|
+
}, {
|
|
1026
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1027
|
+
} | undefined>>
|
|
982
1028
|
];
|
|
983
1029
|
actions: {
|
|
984
1030
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1187,7 +1233,18 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
|
|
|
1187
1233
|
}, undefined>,
|
|
1188
1234
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1189
1235
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1190
|
-
}, undefined
|
|
1236
|
+
}, undefined>,
|
|
1237
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1238
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1239
|
+
pluginConfiguration?: {
|
|
1240
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
commands: {
|
|
1243
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1244
|
+
};
|
|
1245
|
+
}, {
|
|
1246
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1247
|
+
} | undefined>>
|
|
1191
1248
|
];
|
|
1192
1249
|
actions: {
|
|
1193
1250
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1482,7 +1539,18 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1482
1539
|
}, undefined>,
|
|
1483
1540
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1484
1541
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1485
|
-
}, undefined
|
|
1542
|
+
}, undefined>,
|
|
1543
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1544
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1545
|
+
pluginConfiguration?: {
|
|
1546
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1547
|
+
} | undefined;
|
|
1548
|
+
commands: {
|
|
1549
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1550
|
+
};
|
|
1551
|
+
}, {
|
|
1552
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1553
|
+
} | undefined>>
|
|
1486
1554
|
];
|
|
1487
1555
|
actions: {
|
|
1488
1556
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1667,7 +1735,18 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1667
1735
|
}, undefined>,
|
|
1668
1736
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1669
1737
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1670
|
-
}, undefined
|
|
1738
|
+
}, undefined>,
|
|
1739
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1740
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1741
|
+
pluginConfiguration?: {
|
|
1742
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1743
|
+
} | undefined;
|
|
1744
|
+
commands: {
|
|
1745
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1746
|
+
};
|
|
1747
|
+
}, {
|
|
1748
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1749
|
+
} | undefined>>
|
|
1671
1750
|
];
|
|
1672
1751
|
actions: {
|
|
1673
1752
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1893,6 +1972,19 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
1893
1972
|
pluginConfiguration: {
|
|
1894
1973
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
1895
1974
|
};
|
|
1975
|
+
dependencies: [
|
|
1976
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1977
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1978
|
+
pluginConfiguration?: {
|
|
1979
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1980
|
+
} | undefined;
|
|
1981
|
+
commands: {
|
|
1982
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1983
|
+
};
|
|
1984
|
+
}, {
|
|
1985
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1986
|
+
} | undefined>>
|
|
1987
|
+
];
|
|
1896
1988
|
}, {
|
|
1897
1989
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
1898
1990
|
}>>,
|
|
@@ -2264,7 +2356,18 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2264
2356
|
}, undefined>,
|
|
2265
2357
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2266
2358
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2267
|
-
}, undefined
|
|
2359
|
+
}, undefined>,
|
|
2360
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2361
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2362
|
+
pluginConfiguration?: {
|
|
2363
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2364
|
+
} | undefined;
|
|
2365
|
+
commands: {
|
|
2366
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2367
|
+
};
|
|
2368
|
+
}, {
|
|
2369
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2370
|
+
} | undefined>>
|
|
2268
2371
|
];
|
|
2269
2372
|
actions: {
|
|
2270
2373
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -2473,7 +2576,18 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
|
|
|
2473
2576
|
}, undefined>,
|
|
2474
2577
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2475
2578
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2476
|
-
}, undefined
|
|
2579
|
+
}, undefined>,
|
|
2580
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2581
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2582
|
+
pluginConfiguration?: {
|
|
2583
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2584
|
+
} | undefined;
|
|
2585
|
+
commands: {
|
|
2586
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2587
|
+
};
|
|
2588
|
+
}, {
|
|
2589
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2590
|
+
} | undefined>>
|
|
2477
2591
|
];
|
|
2478
2592
|
actions: {
|
|
2479
2593
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "191.4.
|
|
3
|
+
"version": "191.4.10",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
|
81
81
|
"@atlaskit/editor-plugin-feedback-dialog": "^0.1.0",
|
|
82
82
|
"@atlaskit/editor-plugin-find-replace": "^0.1.0",
|
|
83
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^0.
|
|
83
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^0.8.0",
|
|
84
84
|
"@atlaskit/editor-plugin-focus": "^0.2.0",
|
|
85
85
|
"@atlaskit/editor-plugin-fragment": "^0.1.0",
|
|
86
86
|
"@atlaskit/editor-plugin-grid": "^0.3.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/editor-plugin-save-on-enter": "^0.1.0",
|
|
108
108
|
"@atlaskit/editor-plugin-scroll-into-view": "^0.1.0",
|
|
109
109
|
"@atlaskit/editor-plugin-selection": "^0.2.0",
|
|
110
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^0.
|
|
110
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^0.2.0",
|
|
111
111
|
"@atlaskit/editor-plugin-status": "^0.2.0",
|
|
112
112
|
"@atlaskit/editor-plugin-submit-editor": "^0.1.0",
|
|
113
113
|
"@atlaskit/editor-plugin-table": "^7.0.0",
|
|
@@ -163,6 +163,7 @@
|
|
|
163
163
|
"@atlaskit/collab-provider": "9.22.1",
|
|
164
164
|
"@atlaskit/dropdown-menu": "^12.1.0",
|
|
165
165
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
166
|
+
"@atlaskit/editor-test-helpers": "*",
|
|
166
167
|
"@atlaskit/flag": "^15.2.0",
|
|
167
168
|
"@atlaskit/link-provider": "^1.6.0",
|
|
168
169
|
"@atlaskit/link-test-helpers": "^6.2.0",
|