@atlaskit/editor-core 193.25.3 → 193.26.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 +23 -0
- package/dist/cjs/ui/ContentStyles/extension.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/extension.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/extension.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +114 -31
- package/dist/types/presets/default.d.ts +110 -30
- package/dist/types/presets/universal.d.ts +114 -31
- package/dist/types/presets/useUniversalPreset.d.ts +114 -31
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +135 -21
- package/dist/types-ts4.5/presets/default.d.ts +130 -20
- package/dist/types-ts4.5/presets/universal.d.ts +135 -21
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +135 -21
- package/package.json +14 -10
|
@@ -399,9 +399,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
399
399
|
} | undefined>>,
|
|
400
400
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
401
401
|
dependencies: [
|
|
402
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
403
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
404
|
+
}, undefined>>,
|
|
402
405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
403
406
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
404
|
-
}, undefined
|
|
407
|
+
}, undefined>>,
|
|
408
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
409
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
410
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
411
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
405
412
|
];
|
|
406
413
|
sharedState: {
|
|
407
414
|
isMenuOpen: boolean;
|
|
@@ -417,7 +424,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
417
424
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
418
425
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
419
426
|
};
|
|
420
|
-
}, undefined
|
|
427
|
+
}, undefined>>,
|
|
428
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
429
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
430
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
431
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
421
432
|
];
|
|
422
433
|
actions: {
|
|
423
434
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -711,9 +722,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
711
722
|
} | undefined>>,
|
|
712
723
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
713
724
|
dependencies: [
|
|
725
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
726
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
727
|
+
}, undefined>>,
|
|
714
728
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
715
729
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
716
|
-
}, undefined
|
|
730
|
+
}, undefined>>,
|
|
731
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
732
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
733
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
734
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
717
735
|
];
|
|
718
736
|
sharedState: {
|
|
719
737
|
isMenuOpen: boolean;
|
|
@@ -729,7 +747,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
729
747
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
730
748
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
731
749
|
};
|
|
732
|
-
}, undefined
|
|
750
|
+
}, undefined>>,
|
|
751
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
752
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
753
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
754
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
733
755
|
];
|
|
734
756
|
actions: {
|
|
735
757
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1591,9 +1613,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1591
1613
|
} | undefined>>,
|
|
1592
1614
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
1593
1615
|
dependencies: [
|
|
1616
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
1617
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1618
|
+
}, undefined>>,
|
|
1594
1619
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
1595
1620
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
1596
|
-
}, undefined
|
|
1621
|
+
}, undefined>>,
|
|
1622
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1623
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1624
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1625
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1597
1626
|
];
|
|
1598
1627
|
sharedState: {
|
|
1599
1628
|
isMenuOpen: boolean;
|
|
@@ -1609,7 +1638,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1609
1638
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1610
1639
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1611
1640
|
};
|
|
1612
|
-
}, undefined
|
|
1641
|
+
}, undefined>>,
|
|
1642
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
1643
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1644
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1645
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1613
1646
|
];
|
|
1614
1647
|
actions: {
|
|
1615
1648
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -2232,9 +2265,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2232
2265
|
} | undefined>>,
|
|
2233
2266
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
2234
2267
|
dependencies: [
|
|
2268
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
2269
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2270
|
+
}, undefined>>,
|
|
2235
2271
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
2236
2272
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
2237
|
-
}, undefined
|
|
2273
|
+
}, undefined>>,
|
|
2274
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2275
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2276
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2277
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2238
2278
|
];
|
|
2239
2279
|
sharedState: {
|
|
2240
2280
|
isMenuOpen: boolean;
|
|
@@ -2250,7 +2290,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2250
2290
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2251
2291
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2252
2292
|
};
|
|
2253
|
-
}, undefined
|
|
2293
|
+
}, undefined>>,
|
|
2294
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2295
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2296
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2297
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2254
2298
|
];
|
|
2255
2299
|
actions: {
|
|
2256
2300
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -2696,7 +2740,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2696
2740
|
};
|
|
2697
2741
|
}, {
|
|
2698
2742
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2699
|
-
} | undefined
|
|
2743
|
+
} | undefined>>,
|
|
2744
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
2745
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2746
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2747
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2700
2748
|
];
|
|
2701
2749
|
}, import("@atlaskit/editor-plugin-table").TablePluginOptions | undefined>>,
|
|
2702
2750
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"emoji", {
|
|
@@ -3138,9 +3186,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3138
3186
|
} | undefined>>,
|
|
3139
3187
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3140
3188
|
dependencies: [
|
|
3189
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
3190
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3191
|
+
}, undefined>>,
|
|
3141
3192
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
3142
3193
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
3143
|
-
}, undefined
|
|
3194
|
+
}, undefined>>,
|
|
3195
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3196
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3197
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3198
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3144
3199
|
];
|
|
3145
3200
|
sharedState: {
|
|
3146
3201
|
isMenuOpen: boolean;
|
|
@@ -3156,7 +3211,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3156
3211
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3157
3212
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3158
3213
|
};
|
|
3159
|
-
}, undefined
|
|
3214
|
+
}, undefined>>,
|
|
3215
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3216
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3217
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3218
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3160
3219
|
];
|
|
3161
3220
|
actions: {
|
|
3162
3221
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -3876,9 +3935,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3876
3935
|
} | undefined>>,
|
|
3877
3936
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3878
3937
|
dependencies: [
|
|
3938
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
3939
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3940
|
+
}, undefined>>,
|
|
3879
3941
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
3880
3942
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
3881
|
-
}, undefined
|
|
3943
|
+
}, undefined>>,
|
|
3944
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3945
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3946
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3947
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3882
3948
|
];
|
|
3883
3949
|
sharedState: {
|
|
3884
3950
|
isMenuOpen: boolean;
|
|
@@ -3894,7 +3960,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3894
3960
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3895
3961
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3896
3962
|
};
|
|
3897
|
-
}, undefined
|
|
3963
|
+
}, undefined>>,
|
|
3964
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3965
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3966
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3967
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3898
3968
|
];
|
|
3899
3969
|
actions: {
|
|
3900
3970
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -4194,9 +4264,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4194
4264
|
} | undefined>>,
|
|
4195
4265
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
4196
4266
|
dependencies: [
|
|
4267
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
4268
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4269
|
+
}, undefined>>,
|
|
4197
4270
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
4198
4271
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
4199
|
-
}, undefined
|
|
4272
|
+
}, undefined>>,
|
|
4273
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4274
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4275
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4276
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4200
4277
|
];
|
|
4201
4278
|
sharedState: {
|
|
4202
4279
|
isMenuOpen: boolean;
|
|
@@ -4212,7 +4289,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4212
4289
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4213
4290
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4214
4291
|
};
|
|
4215
|
-
}, undefined
|
|
4292
|
+
}, undefined>>,
|
|
4293
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4294
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4295
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4296
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4216
4297
|
];
|
|
4217
4298
|
actions: {
|
|
4218
4299
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -4765,9 +4846,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4765
4846
|
} | undefined>>,
|
|
4766
4847
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
4767
4848
|
dependencies: [
|
|
4849
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
4850
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4851
|
+
}, undefined>>,
|
|
4768
4852
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
4769
4853
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
4770
|
-
}, undefined
|
|
4854
|
+
}, undefined>>,
|
|
4855
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4856
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4857
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4858
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4771
4859
|
];
|
|
4772
4860
|
sharedState: {
|
|
4773
4861
|
isMenuOpen: boolean;
|
|
@@ -4783,7 +4871,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4783
4871
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4784
4872
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4785
4873
|
};
|
|
4786
|
-
}, undefined
|
|
4874
|
+
}, undefined>>,
|
|
4875
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
4876
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4877
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4878
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4787
4879
|
];
|
|
4788
4880
|
actions: {
|
|
4789
4881
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -5367,9 +5459,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5367
5459
|
} | undefined>>,
|
|
5368
5460
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
5369
5461
|
dependencies: [
|
|
5462
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
5463
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
5464
|
+
}, undefined>>,
|
|
5370
5465
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
5371
5466
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
5372
|
-
}, undefined
|
|
5467
|
+
}, undefined>>,
|
|
5468
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
5469
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5470
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5471
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
5373
5472
|
];
|
|
5374
5473
|
sharedState: {
|
|
5375
5474
|
isMenuOpen: boolean;
|
|
@@ -5385,7 +5484,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5385
5484
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5386
5485
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5387
5486
|
};
|
|
5388
|
-
}, undefined
|
|
5487
|
+
}, undefined>>,
|
|
5488
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
5489
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5490
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5491
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
5389
5492
|
];
|
|
5390
5493
|
actions: {
|
|
5391
5494
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -5679,9 +5782,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5679
5782
|
} | undefined>>,
|
|
5680
5783
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
5681
5784
|
dependencies: [
|
|
5785
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
5786
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
5787
|
+
}, undefined>>,
|
|
5682
5788
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"width", {
|
|
5683
5789
|
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
5684
|
-
}, undefined
|
|
5790
|
+
}, undefined>>,
|
|
5791
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
5792
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5793
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5794
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
5685
5795
|
];
|
|
5686
5796
|
sharedState: {
|
|
5687
5797
|
isMenuOpen: boolean;
|
|
@@ -5697,7 +5807,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5697
5807
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5698
5808
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5699
5809
|
};
|
|
5700
|
-
}, undefined
|
|
5810
|
+
}, undefined>>,
|
|
5811
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
5812
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5813
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
5814
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
5701
5815
|
];
|
|
5702
5816
|
actions: {
|
|
5703
5817
|
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": "193.
|
|
3
|
+
"version": "193.26.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.17.0",
|
|
48
|
-
"@atlaskit/editor-common": "^82.
|
|
48
|
+
"@atlaskit/editor-common": "^82.3.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.13.0",
|
|
50
|
-
"@atlaskit/editor-plugins": "^3.
|
|
50
|
+
"@atlaskit/editor-plugins": "^3.1.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
52
52
|
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
53
53
|
"@atlaskit/emoji": "^67.6.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/spinner": "^16.1.0",
|
|
59
59
|
"@atlaskit/task-decision": "^17.10.0",
|
|
60
60
|
"@atlaskit/theme": "^12.9.0",
|
|
61
|
-
"@atlaskit/tokens": "^1.
|
|
61
|
+
"@atlaskit/tokens": "^1.50.0",
|
|
62
62
|
"@atlaskit/tooltip": "^18.4.0",
|
|
63
63
|
"@atlaskit/ufo": "^0.2.0",
|
|
64
64
|
"@atlaskit/width-detector": "^4.2.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@atlaskit/adf-utils": "^19.2.0",
|
|
89
89
|
"@atlaskit/analytics-listeners": "^8.9.1",
|
|
90
90
|
"@atlaskit/collab-provider": "9.29.3",
|
|
91
|
-
"@atlaskit/editor-plugin-annotation": "1.10.
|
|
91
|
+
"@atlaskit/editor-plugin-annotation": "1.10.1",
|
|
92
92
|
"@atlaskit/editor-plugin-card": "^2.0.0",
|
|
93
93
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|
|
94
94
|
"@atlaskit/editor-plugin-list": "^3.3.0",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@atlaskit/visual-regression": "*",
|
|
110
110
|
"@atlassian/adf-schema-json": "^1.14.0",
|
|
111
111
|
"@atlassian/link-picker-plugins": "^24.4.0",
|
|
112
|
-
"@atlassian/search-provider": "2.4.
|
|
112
|
+
"@atlassian/search-provider": "2.4.79",
|
|
113
113
|
"@atlassian/ufo": "^0.2.0",
|
|
114
114
|
"@emotion/jest": "^11.8.0",
|
|
115
115
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -184,10 +184,6 @@
|
|
|
184
184
|
"type": "boolean",
|
|
185
185
|
"referenceOnly": "true"
|
|
186
186
|
},
|
|
187
|
-
"platform.editor.table.preserve-widths-with-lock-button": {
|
|
188
|
-
"type": "boolean",
|
|
189
|
-
"referenceOnly": "true"
|
|
190
|
-
},
|
|
191
187
|
"platform.editor.table-sticky-scrollbar": {
|
|
192
188
|
"type": "boolean"
|
|
193
189
|
},
|
|
@@ -325,6 +321,10 @@
|
|
|
325
321
|
"type": "boolean",
|
|
326
322
|
"referenceOnly": true
|
|
327
323
|
},
|
|
324
|
+
"platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g": {
|
|
325
|
+
"type": "boolean",
|
|
326
|
+
"referenceOnly": true
|
|
327
|
+
},
|
|
328
328
|
"platform.editor.live-view.no-editor-selection-in-view-mode": {
|
|
329
329
|
"type": "boolean"
|
|
330
330
|
},
|
|
@@ -358,6 +358,10 @@
|
|
|
358
358
|
},
|
|
359
359
|
"platform.editor.core.increase-full-page-guttering": {
|
|
360
360
|
"type": "boolean"
|
|
361
|
+
},
|
|
362
|
+
"platform.editor.transparent-diagonal-decorator": {
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"referenceOnly": "true"
|
|
361
365
|
}
|
|
362
366
|
},
|
|
363
367
|
"stricter": {
|