@atlaskit/editor-core 193.24.20 → 193.25.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 +15 -0
- package/dist/cjs/ui/ContentStyles/index.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +30 -0
- package/dist/types/presets/default.d.ts +30 -0
- package/dist/types/presets/universal.d.ts +30 -0
- package/dist/types/presets/useUniversalPreset.d.ts +30 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +30 -0
- package/dist/types-ts4.5/presets/default.d.ts +30 -0
- package/dist/types-ts4.5/presets/universal.d.ts +30 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +30 -0
- package/package.json +17 -13
|
@@ -269,12 +269,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
269
269
|
isMenuOpen: boolean;
|
|
270
270
|
activeNode: {
|
|
271
271
|
pos: number;
|
|
272
|
+
anchorName: string;
|
|
272
273
|
} | null;
|
|
273
274
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
274
275
|
isDragging: boolean;
|
|
275
276
|
} | undefined;
|
|
276
277
|
commands: {
|
|
277
278
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
279
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
280
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
278
281
|
};
|
|
279
282
|
}, undefined>>];
|
|
280
283
|
actions: {
|
|
@@ -522,12 +525,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
522
525
|
isMenuOpen: boolean;
|
|
523
526
|
activeNode: {
|
|
524
527
|
pos: number;
|
|
528
|
+
anchorName: string;
|
|
525
529
|
} | null;
|
|
526
530
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
527
531
|
isDragging: boolean;
|
|
528
532
|
} | undefined;
|
|
529
533
|
commands: {
|
|
530
534
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
535
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
536
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
531
537
|
};
|
|
532
538
|
}, undefined>>];
|
|
533
539
|
actions: {
|
|
@@ -1245,12 +1251,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1245
1251
|
isMenuOpen: boolean;
|
|
1246
1252
|
activeNode: {
|
|
1247
1253
|
pos: number;
|
|
1254
|
+
anchorName: string;
|
|
1248
1255
|
} | null;
|
|
1249
1256
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1250
1257
|
isDragging: boolean;
|
|
1251
1258
|
} | undefined;
|
|
1252
1259
|
commands: {
|
|
1253
1260
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1261
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1262
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1254
1263
|
};
|
|
1255
1264
|
}, undefined>>];
|
|
1256
1265
|
actions: {
|
|
@@ -1770,12 +1779,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1770
1779
|
isMenuOpen: boolean;
|
|
1771
1780
|
activeNode: {
|
|
1772
1781
|
pos: number;
|
|
1782
|
+
anchorName: string;
|
|
1773
1783
|
} | null;
|
|
1774
1784
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1775
1785
|
isDragging: boolean;
|
|
1776
1786
|
} | undefined;
|
|
1777
1787
|
commands: {
|
|
1778
1788
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1789
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1790
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1779
1791
|
};
|
|
1780
1792
|
}, undefined>>];
|
|
1781
1793
|
actions: {
|
|
@@ -2520,12 +2532,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2520
2532
|
isMenuOpen: boolean;
|
|
2521
2533
|
activeNode: {
|
|
2522
2534
|
pos: number;
|
|
2535
|
+
anchorName: string;
|
|
2523
2536
|
} | null;
|
|
2524
2537
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2525
2538
|
isDragging: boolean;
|
|
2526
2539
|
} | undefined;
|
|
2527
2540
|
commands: {
|
|
2528
2541
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2542
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2543
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2529
2544
|
};
|
|
2530
2545
|
}, undefined>>];
|
|
2531
2546
|
actions: {
|
|
@@ -3121,12 +3136,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3121
3136
|
isMenuOpen: boolean;
|
|
3122
3137
|
activeNode: {
|
|
3123
3138
|
pos: number;
|
|
3139
|
+
anchorName: string;
|
|
3124
3140
|
} | null;
|
|
3125
3141
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3126
3142
|
isDragging: boolean;
|
|
3127
3143
|
} | undefined;
|
|
3128
3144
|
commands: {
|
|
3129
3145
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3146
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3147
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3130
3148
|
};
|
|
3131
3149
|
}, undefined>>];
|
|
3132
3150
|
actions: {
|
|
@@ -3378,12 +3396,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3378
3396
|
isMenuOpen: boolean;
|
|
3379
3397
|
activeNode: {
|
|
3380
3398
|
pos: number;
|
|
3399
|
+
anchorName: string;
|
|
3381
3400
|
} | null;
|
|
3382
3401
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3383
3402
|
isDragging: boolean;
|
|
3384
3403
|
} | undefined;
|
|
3385
3404
|
commands: {
|
|
3386
3405
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3406
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3407
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3387
3408
|
};
|
|
3388
3409
|
}, undefined>>];
|
|
3389
3410
|
actions: {
|
|
@@ -3849,12 +3870,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3849
3870
|
isMenuOpen: boolean;
|
|
3850
3871
|
activeNode: {
|
|
3851
3872
|
pos: number;
|
|
3873
|
+
anchorName: string;
|
|
3852
3874
|
} | null;
|
|
3853
3875
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3854
3876
|
isDragging: boolean;
|
|
3855
3877
|
} | undefined;
|
|
3856
3878
|
commands: {
|
|
3857
3879
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3880
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3881
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3858
3882
|
};
|
|
3859
3883
|
}, undefined>>];
|
|
3860
3884
|
actions: {
|
|
@@ -4346,12 +4370,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4346
4370
|
isMenuOpen: boolean;
|
|
4347
4371
|
activeNode: {
|
|
4348
4372
|
pos: number;
|
|
4373
|
+
anchorName: string;
|
|
4349
4374
|
} | null;
|
|
4350
4375
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4351
4376
|
isDragging: boolean;
|
|
4352
4377
|
} | undefined;
|
|
4353
4378
|
commands: {
|
|
4354
4379
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4380
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4381
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4355
4382
|
};
|
|
4356
4383
|
}, undefined>>];
|
|
4357
4384
|
actions: {
|
|
@@ -4599,12 +4626,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4599
4626
|
isMenuOpen: boolean;
|
|
4600
4627
|
activeNode: {
|
|
4601
4628
|
pos: number;
|
|
4629
|
+
anchorName: string;
|
|
4602
4630
|
} | null;
|
|
4603
4631
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4604
4632
|
isDragging: boolean;
|
|
4605
4633
|
} | undefined;
|
|
4606
4634
|
commands: {
|
|
4607
4635
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4636
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4637
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4608
4638
|
};
|
|
4609
4639
|
}, undefined>>];
|
|
4610
4640
|
actions: {
|
|
@@ -404,12 +404,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
404
404
|
isMenuOpen: boolean;
|
|
405
405
|
activeNode: {
|
|
406
406
|
pos: number;
|
|
407
|
+
anchorName: string;
|
|
407
408
|
} | null;
|
|
408
409
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
409
410
|
isDragging: boolean;
|
|
410
411
|
} | undefined;
|
|
411
412
|
commands: {
|
|
412
413
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
414
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
415
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
413
416
|
};
|
|
414
417
|
}, undefined>>
|
|
415
418
|
];
|
|
@@ -713,12 +716,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
713
716
|
isMenuOpen: boolean;
|
|
714
717
|
activeNode: {
|
|
715
718
|
pos: number;
|
|
719
|
+
anchorName: string;
|
|
716
720
|
} | null;
|
|
717
721
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
718
722
|
isDragging: boolean;
|
|
719
723
|
} | undefined;
|
|
720
724
|
commands: {
|
|
721
725
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
726
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
727
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
722
728
|
};
|
|
723
729
|
}, undefined>>
|
|
724
730
|
];
|
|
@@ -1590,12 +1596,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1590
1596
|
isMenuOpen: boolean;
|
|
1591
1597
|
activeNode: {
|
|
1592
1598
|
pos: number;
|
|
1599
|
+
anchorName: string;
|
|
1593
1600
|
} | null;
|
|
1594
1601
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1595
1602
|
isDragging: boolean;
|
|
1596
1603
|
} | undefined;
|
|
1597
1604
|
commands: {
|
|
1598
1605
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1606
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1607
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1599
1608
|
};
|
|
1600
1609
|
}, undefined>>
|
|
1601
1610
|
];
|
|
@@ -2228,12 +2237,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2228
2237
|
isMenuOpen: boolean;
|
|
2229
2238
|
activeNode: {
|
|
2230
2239
|
pos: number;
|
|
2240
|
+
anchorName: string;
|
|
2231
2241
|
} | null;
|
|
2232
2242
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2233
2243
|
isDragging: boolean;
|
|
2234
2244
|
} | undefined;
|
|
2235
2245
|
commands: {
|
|
2236
2246
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2247
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2248
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2237
2249
|
};
|
|
2238
2250
|
}, undefined>>
|
|
2239
2251
|
];
|
|
@@ -3131,12 +3143,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3131
3143
|
isMenuOpen: boolean;
|
|
3132
3144
|
activeNode: {
|
|
3133
3145
|
pos: number;
|
|
3146
|
+
anchorName: string;
|
|
3134
3147
|
} | null;
|
|
3135
3148
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3136
3149
|
isDragging: boolean;
|
|
3137
3150
|
} | undefined;
|
|
3138
3151
|
commands: {
|
|
3139
3152
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3153
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3154
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3140
3155
|
};
|
|
3141
3156
|
}, undefined>>
|
|
3142
3157
|
];
|
|
@@ -3866,12 +3881,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3866
3881
|
isMenuOpen: boolean;
|
|
3867
3882
|
activeNode: {
|
|
3868
3883
|
pos: number;
|
|
3884
|
+
anchorName: string;
|
|
3869
3885
|
} | null;
|
|
3870
3886
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3871
3887
|
isDragging: boolean;
|
|
3872
3888
|
} | undefined;
|
|
3873
3889
|
commands: {
|
|
3874
3890
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3891
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3892
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3875
3893
|
};
|
|
3876
3894
|
}, undefined>>
|
|
3877
3895
|
];
|
|
@@ -4181,12 +4199,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4181
4199
|
isMenuOpen: boolean;
|
|
4182
4200
|
activeNode: {
|
|
4183
4201
|
pos: number;
|
|
4202
|
+
anchorName: string;
|
|
4184
4203
|
} | null;
|
|
4185
4204
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4186
4205
|
isDragging: boolean;
|
|
4187
4206
|
} | undefined;
|
|
4188
4207
|
commands: {
|
|
4189
4208
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4209
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4210
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4190
4211
|
};
|
|
4191
4212
|
}, undefined>>
|
|
4192
4213
|
];
|
|
@@ -4749,12 +4770,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4749
4770
|
isMenuOpen: boolean;
|
|
4750
4771
|
activeNode: {
|
|
4751
4772
|
pos: number;
|
|
4773
|
+
anchorName: string;
|
|
4752
4774
|
} | null;
|
|
4753
4775
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4754
4776
|
isDragging: boolean;
|
|
4755
4777
|
} | undefined;
|
|
4756
4778
|
commands: {
|
|
4757
4779
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4780
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4781
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4758
4782
|
};
|
|
4759
4783
|
}, undefined>>
|
|
4760
4784
|
];
|
|
@@ -5348,12 +5372,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5348
5372
|
isMenuOpen: boolean;
|
|
5349
5373
|
activeNode: {
|
|
5350
5374
|
pos: number;
|
|
5375
|
+
anchorName: string;
|
|
5351
5376
|
} | null;
|
|
5352
5377
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
5353
5378
|
isDragging: boolean;
|
|
5354
5379
|
} | undefined;
|
|
5355
5380
|
commands: {
|
|
5356
5381
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5382
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5383
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5357
5384
|
};
|
|
5358
5385
|
}, undefined>>
|
|
5359
5386
|
];
|
|
@@ -5657,12 +5684,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5657
5684
|
isMenuOpen: boolean;
|
|
5658
5685
|
activeNode: {
|
|
5659
5686
|
pos: number;
|
|
5687
|
+
anchorName: string;
|
|
5660
5688
|
} | null;
|
|
5661
5689
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
5662
5690
|
isDragging: boolean;
|
|
5663
5691
|
} | undefined;
|
|
5664
5692
|
commands: {
|
|
5665
5693
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5694
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5695
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5666
5696
|
};
|
|
5667
5697
|
}, undefined>>
|
|
5668
5698
|
];
|
|
@@ -277,12 +277,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
277
277
|
isMenuOpen: boolean;
|
|
278
278
|
activeNode: {
|
|
279
279
|
pos: number;
|
|
280
|
+
anchorName: string;
|
|
280
281
|
} | null;
|
|
281
282
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
282
283
|
isDragging: boolean;
|
|
283
284
|
} | undefined;
|
|
284
285
|
commands: {
|
|
285
286
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
287
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
288
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
286
289
|
};
|
|
287
290
|
}, undefined>>
|
|
288
291
|
];
|
|
@@ -592,12 +595,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
592
595
|
isMenuOpen: boolean;
|
|
593
596
|
activeNode: {
|
|
594
597
|
pos: number;
|
|
598
|
+
anchorName: string;
|
|
595
599
|
} | null;
|
|
596
600
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
597
601
|
isDragging: boolean;
|
|
598
602
|
} | undefined;
|
|
599
603
|
commands: {
|
|
600
604
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
605
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
606
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
601
607
|
};
|
|
602
608
|
}, undefined>>
|
|
603
609
|
];
|
|
@@ -1160,12 +1166,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1160
1166
|
isMenuOpen: boolean;
|
|
1161
1167
|
activeNode: {
|
|
1162
1168
|
pos: number;
|
|
1169
|
+
anchorName: string;
|
|
1163
1170
|
} | null;
|
|
1164
1171
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1165
1172
|
isDragging: boolean;
|
|
1166
1173
|
} | undefined;
|
|
1167
1174
|
commands: {
|
|
1168
1175
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1176
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1177
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1169
1178
|
};
|
|
1170
1179
|
}, undefined>>
|
|
1171
1180
|
];
|
|
@@ -1759,12 +1768,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1759
1768
|
isMenuOpen: boolean;
|
|
1760
1769
|
activeNode: {
|
|
1761
1770
|
pos: number;
|
|
1771
|
+
anchorName: string;
|
|
1762
1772
|
} | null;
|
|
1763
1773
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1764
1774
|
isDragging: boolean;
|
|
1765
1775
|
} | undefined;
|
|
1766
1776
|
commands: {
|
|
1767
1777
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1778
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1779
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1768
1780
|
};
|
|
1769
1781
|
}, undefined>>
|
|
1770
1782
|
];
|
|
@@ -2068,12 +2080,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2068
2080
|
isMenuOpen: boolean;
|
|
2069
2081
|
activeNode: {
|
|
2070
2082
|
pos: number;
|
|
2083
|
+
anchorName: string;
|
|
2071
2084
|
} | null;
|
|
2072
2085
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2073
2086
|
isDragging: boolean;
|
|
2074
2087
|
} | undefined;
|
|
2075
2088
|
commands: {
|
|
2076
2089
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2090
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2091
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2077
2092
|
};
|
|
2078
2093
|
}, undefined>>
|
|
2079
2094
|
];
|
|
@@ -2590,12 +2605,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2590
2605
|
isMenuOpen: boolean;
|
|
2591
2606
|
activeNode: {
|
|
2592
2607
|
pos: number;
|
|
2608
|
+
anchorName: string;
|
|
2593
2609
|
} | null;
|
|
2594
2610
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2595
2611
|
isDragging: boolean;
|
|
2596
2612
|
} | undefined;
|
|
2597
2613
|
commands: {
|
|
2598
2614
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2615
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2616
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2599
2617
|
};
|
|
2600
2618
|
}, undefined>>
|
|
2601
2619
|
];
|
|
@@ -2905,12 +2923,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2905
2923
|
isMenuOpen: boolean;
|
|
2906
2924
|
activeNode: {
|
|
2907
2925
|
pos: number;
|
|
2926
|
+
anchorName: string;
|
|
2908
2927
|
} | null;
|
|
2909
2928
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2910
2929
|
isDragging: boolean;
|
|
2911
2930
|
} | undefined;
|
|
2912
2931
|
commands: {
|
|
2913
2932
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2933
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2934
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2914
2935
|
};
|
|
2915
2936
|
}, undefined>>
|
|
2916
2937
|
];
|
|
@@ -3473,12 +3494,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3473
3494
|
isMenuOpen: boolean;
|
|
3474
3495
|
activeNode: {
|
|
3475
3496
|
pos: number;
|
|
3497
|
+
anchorName: string;
|
|
3476
3498
|
} | null;
|
|
3477
3499
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3478
3500
|
isDragging: boolean;
|
|
3479
3501
|
} | undefined;
|
|
3480
3502
|
commands: {
|
|
3481
3503
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3504
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3505
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3482
3506
|
};
|
|
3483
3507
|
}, undefined>>
|
|
3484
3508
|
];
|
|
@@ -4072,12 +4096,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4072
4096
|
isMenuOpen: boolean;
|
|
4073
4097
|
activeNode: {
|
|
4074
4098
|
pos: number;
|
|
4099
|
+
anchorName: string;
|
|
4075
4100
|
} | null;
|
|
4076
4101
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4077
4102
|
isDragging: boolean;
|
|
4078
4103
|
} | undefined;
|
|
4079
4104
|
commands: {
|
|
4080
4105
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4106
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4107
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4081
4108
|
};
|
|
4082
4109
|
}, undefined>>
|
|
4083
4110
|
];
|
|
@@ -4381,12 +4408,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4381
4408
|
isMenuOpen: boolean;
|
|
4382
4409
|
activeNode: {
|
|
4383
4410
|
pos: number;
|
|
4411
|
+
anchorName: string;
|
|
4384
4412
|
} | null;
|
|
4385
4413
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4386
4414
|
isDragging: boolean;
|
|
4387
4415
|
} | undefined;
|
|
4388
4416
|
commands: {
|
|
4389
4417
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4418
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4419
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4390
4420
|
};
|
|
4391
4421
|
}, undefined>>
|
|
4392
4422
|
];
|
|
@@ -421,12 +421,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
421
421
|
isMenuOpen: boolean;
|
|
422
422
|
activeNode: {
|
|
423
423
|
pos: number;
|
|
424
|
+
anchorName: string;
|
|
424
425
|
} | null;
|
|
425
426
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
426
427
|
isDragging: boolean;
|
|
427
428
|
} | undefined;
|
|
428
429
|
commands: {
|
|
429
430
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
431
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
432
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
430
433
|
};
|
|
431
434
|
}, undefined>>
|
|
432
435
|
];
|
|
@@ -730,12 +733,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
730
733
|
isMenuOpen: boolean;
|
|
731
734
|
activeNode: {
|
|
732
735
|
pos: number;
|
|
736
|
+
anchorName: string;
|
|
733
737
|
} | null;
|
|
734
738
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
735
739
|
isDragging: boolean;
|
|
736
740
|
} | undefined;
|
|
737
741
|
commands: {
|
|
738
742
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
743
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
744
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
739
745
|
};
|
|
740
746
|
}, undefined>>
|
|
741
747
|
];
|
|
@@ -1607,12 +1613,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1607
1613
|
isMenuOpen: boolean;
|
|
1608
1614
|
activeNode: {
|
|
1609
1615
|
pos: number;
|
|
1616
|
+
anchorName: string;
|
|
1610
1617
|
} | null;
|
|
1611
1618
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1612
1619
|
isDragging: boolean;
|
|
1613
1620
|
} | undefined;
|
|
1614
1621
|
commands: {
|
|
1615
1622
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1623
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1624
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1616
1625
|
};
|
|
1617
1626
|
}, undefined>>
|
|
1618
1627
|
];
|
|
@@ -2245,12 +2254,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2245
2254
|
isMenuOpen: boolean;
|
|
2246
2255
|
activeNode: {
|
|
2247
2256
|
pos: number;
|
|
2257
|
+
anchorName: string;
|
|
2248
2258
|
} | null;
|
|
2249
2259
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2250
2260
|
isDragging: boolean;
|
|
2251
2261
|
} | undefined;
|
|
2252
2262
|
commands: {
|
|
2253
2263
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2264
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2265
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2254
2266
|
};
|
|
2255
2267
|
}, undefined>>
|
|
2256
2268
|
];
|
|
@@ -3148,12 +3160,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3148
3160
|
isMenuOpen: boolean;
|
|
3149
3161
|
activeNode: {
|
|
3150
3162
|
pos: number;
|
|
3163
|
+
anchorName: string;
|
|
3151
3164
|
} | null;
|
|
3152
3165
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3153
3166
|
isDragging: boolean;
|
|
3154
3167
|
} | undefined;
|
|
3155
3168
|
commands: {
|
|
3156
3169
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3170
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3171
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3157
3172
|
};
|
|
3158
3173
|
}, undefined>>
|
|
3159
3174
|
];
|
|
@@ -3883,12 +3898,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3883
3898
|
isMenuOpen: boolean;
|
|
3884
3899
|
activeNode: {
|
|
3885
3900
|
pos: number;
|
|
3901
|
+
anchorName: string;
|
|
3886
3902
|
} | null;
|
|
3887
3903
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3888
3904
|
isDragging: boolean;
|
|
3889
3905
|
} | undefined;
|
|
3890
3906
|
commands: {
|
|
3891
3907
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3908
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3909
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3892
3910
|
};
|
|
3893
3911
|
}, undefined>>
|
|
3894
3912
|
];
|
|
@@ -4198,12 +4216,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4198
4216
|
isMenuOpen: boolean;
|
|
4199
4217
|
activeNode: {
|
|
4200
4218
|
pos: number;
|
|
4219
|
+
anchorName: string;
|
|
4201
4220
|
} | null;
|
|
4202
4221
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4203
4222
|
isDragging: boolean;
|
|
4204
4223
|
} | undefined;
|
|
4205
4224
|
commands: {
|
|
4206
4225
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4226
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4227
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4207
4228
|
};
|
|
4208
4229
|
}, undefined>>
|
|
4209
4230
|
];
|
|
@@ -4766,12 +4787,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4766
4787
|
isMenuOpen: boolean;
|
|
4767
4788
|
activeNode: {
|
|
4768
4789
|
pos: number;
|
|
4790
|
+
anchorName: string;
|
|
4769
4791
|
} | null;
|
|
4770
4792
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4771
4793
|
isDragging: boolean;
|
|
4772
4794
|
} | undefined;
|
|
4773
4795
|
commands: {
|
|
4774
4796
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4797
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4798
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4775
4799
|
};
|
|
4776
4800
|
}, undefined>>
|
|
4777
4801
|
];
|
|
@@ -5365,12 +5389,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5365
5389
|
isMenuOpen: boolean;
|
|
5366
5390
|
activeNode: {
|
|
5367
5391
|
pos: number;
|
|
5392
|
+
anchorName: string;
|
|
5368
5393
|
} | null;
|
|
5369
5394
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
5370
5395
|
isDragging: boolean;
|
|
5371
5396
|
} | undefined;
|
|
5372
5397
|
commands: {
|
|
5373
5398
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5399
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5400
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5374
5401
|
};
|
|
5375
5402
|
}, undefined>>
|
|
5376
5403
|
];
|
|
@@ -5674,12 +5701,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5674
5701
|
isMenuOpen: boolean;
|
|
5675
5702
|
activeNode: {
|
|
5676
5703
|
pos: number;
|
|
5704
|
+
anchorName: string;
|
|
5677
5705
|
} | null;
|
|
5678
5706
|
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
5679
5707
|
isDragging: boolean;
|
|
5680
5708
|
} | undefined;
|
|
5681
5709
|
commands: {
|
|
5682
5710
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5711
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5712
|
+
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5683
5713
|
};
|
|
5684
5714
|
}, undefined>>
|
|
5685
5715
|
];
|